tests: make refcount signals test slightly valgrind cleaner
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 19 Jul 2012 14:38:06 +0000 (16:38 +0200)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 5 Aug 2012 11:26:03 +0000 (12:26 +0100)
tests/refcount/signals.c

index b8b4c45..1bf2128 100644 (file)
@@ -276,5 +276,9 @@ main (int argc, char **argv)
 
   g_print ("stopped\n");
 
+  g_array_free (test_threads, TRUE);
+  g_object_unref (test1);
+  g_object_unref (test2);
+
   return 0;
 }