[glib/wip/gcleanup] g-icon: Fix memory leak in test
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gcleanup] g-icon: Fix memory leak in test
- Date: Fri, 8 Nov 2013 13:35:24 +0000 (UTC)
commit 321b2a638e3e15afa63fbbebf53158ef9b75fc95
Author: Stef Walter <stefw gnome org>
Date: Fri Nov 8 14:28:55 2013 +0100
g-icon: Fix memory leak in test
gio/tests/g-icon.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/g-icon.c b/gio/tests/g-icon.c
index 3403278..e780613 100644
--- a/gio/tests/g-icon.c
+++ b/gio/tests/g-icon.c
@@ -542,6 +542,7 @@ test_file_icon (void)
g_object_unref (icon2);
g_object_unref (icon3);
g_object_unref (icon4);
+ g_object_unref (file);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]