[glib] tests: make refcount signals test slightly valgrind cleaner
- From: Tim-Philipp MÃller <tpm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] tests: make refcount signals test slightly valgrind cleaner
- Date: Sun, 5 Aug 2012 11:54:07 +0000 (UTC)
commit 13a1154b4cf664e486df9fa6a76d279b8090c49e
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
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]