[glib/wip/gsubprocess-ostreams: 2/9] tests: make refcount signals test slightly valgrind cleaner
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gsubprocess-ostreams: 2/9] tests: make refcount signals test slightly valgrind cleaner
- Date: Wed, 25 Jul 2012 23:23:52 +0000 (UTC)
commit 4d54ff33eae8cb59c9574358114009765f36d8a9
Author: Mark Nauwelaerts <mark nauwelaerts collabora co uk>
Date: Thu Jul 19 16:38:06 2012 +0200
tests: make refcount signals test slightly valgrind cleaner
https://bugzilla.gnome.org/show_bug.cgi?id=674800
tests/refcount/signals.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/refcount/signals.c b/tests/refcount/signals.c
index b8b4c45..1bf2128 100644
--- a/tests/refcount/signals.c
+++ b/tests/refcount/signals.c
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]