[glib/wip/gcleanup] g-icon: Fix memory leak in test



commit ba760b2cb65155ce9d30003018e0204cd8bf7578
Author: Stef Walter <stefw gnome org>
Date:   Fri Nov 8 14:28:55 2013 +0100

    g-icon: Fix memory leak in test
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711802

 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]