[glib] gtestdbus: Fix leak of GMainLoop



commit 419b47e166fce8974e8bc31e966020c57e6fe19f
Author: Stef Walter <stefw gnome org>
Date:   Sat Nov 9 20:19:44 2013 +0100

    gtestdbus: Fix leak of GMainLoop
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711808

 gio/gtestdbus.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/gtestdbus.c b/gio/gtestdbus.c
index 92d8711..151173f 100644
--- a/gio/gtestdbus.c
+++ b/gio/gtestdbus.c
@@ -101,6 +101,7 @@ _g_object_unref_and_wait_weak_notify (gpointer object)
           G_OBJECT (object)->ref_count);
     }
 
+  g_main_loop_unref (data.loop);
   return data.timed_out;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]