[glib/wip/gcleanup: 75/79] signals: Fix leak in test



commit a9b3a455fdf0e7dcc169ca4e5400592b57527b9b
Author: Stef Walter <stefw gnome org>
Date:   Sun Nov 10 15:56:59 2013 +0100

    signals: Fix leak in test
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711779

 tests/gobject/signals.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/gobject/signals.c b/tests/gobject/signals.c
index 6f5149c..ad1f876 100644
--- a/tests/gobject/signals.c
+++ b/tests/gobject/signals.c
@@ -131,5 +131,6 @@ main (int   argc,
   g_assert (!callback3_ran);
   g_assert (default_handler_ran);
 
+  g_object_unref (object);
   return 0;
 }


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