[glib/wip/gcleanup: 52/79] iochannel-test: Fix leaks in test



commit f70f704a9d0afe22f0eec93b44ad4060575a75b5
Author: Stef Walter <stefw gnome org>
Date:   Sun Nov 10 10:54:26 2013 +0100

    iochannel-test: Fix leaks in test
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711751

 tests/iochannel-test.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/tests/iochannel-test.c b/tests/iochannel-test.c
index 92fcc34..06a85e5 100644
--- a/tests/iochannel-test.c
+++ b/tests/iochannel-test.c
@@ -164,6 +164,9 @@ gint main (gint argc, gchar * argv[])
     g_io_channel_unref(gio_w);
 
     test_small_writes ();
-    
+
+    g_free (filename);
+    g_string_free (buffer, TRUE);
+
     return 0;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]