child-test: Fix leak in test
authorStef Walter <stefw@gnome.org>
Sat, 9 Nov 2013 19:25:23 +0000 (20:25 +0100)
committerStef Walter <stefw@gnome.org>
Sun, 10 Nov 2013 21:41:16 +0000 (22:41 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=711751

tests/child-test.c

index 5478b6f..ad055b2 100644 (file)
@@ -189,6 +189,8 @@ main (int argc, char *argv[])
   
   g_main_loop_run (main_loop);
 
+  g_main_loop_unref (main_loop);
+
   if (alive > 0)
     {
       g_warning ("%d children still alive\n", alive);