[glib/glib-2-32] 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/glib-2-32] tests: make refcount signals test slightly valgrind cleaner
- Date: Sun, 5 Aug 2012 12:30:51 +0000 (UTC)
commit a6819124a33317b2c4e16a86717bb8d04e9efac7
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]