[glib/wip/gcleanup: 71/79] accumulator: Fix leak in test
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gcleanup: 71/79] accumulator: Fix leak in test
- Date: Sun, 10 Nov 2013 15:25:29 +0000 (UTC)
commit fbc5648a9906f358aeed3d08eed926641fbe7af9
Author: Stef Walter <stefw gnome org>
Date: Sun Nov 10 15:55:35 2013 +0100
accumulator: Fix leak in test
https://bugzilla.gnome.org/show_bug.cgi?id=711779
tests/gobject/accumulator.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/gobject/accumulator.c b/tests/gobject/accumulator.c
index f8a6c12..f994a76 100644
--- a/tests/gobject/accumulator.c
+++ b/tests/gobject/accumulator.c
@@ -303,5 +303,7 @@ main (int argc,
g_variant_unref (variant_result);
g_assert (variant_finalised);
+ g_object_unref (object);
+
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]