[glib/wip/gcleanup: 19/78] gcleanup: Add in more gtestutils.c cleanups



commit 2a870ebc15694533b908b87152e7d8903861159b
Author: Stef Walter <stefw gnome org>
Date:   Thu Oct 31 10:20:12 2013 +0100

    gcleanup: Add in more gtestutils.c cleanups
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711744

 glib/gtestutils.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/glib/gtestutils.c b/glib/gtestutils.c
index 43bee66..c704433 100644
--- a/glib/gtestutils.c
+++ b/glib/gtestutils.c
@@ -1022,10 +1022,17 @@ g_test_cleanup (void)
 
   if (test_suite_root)
     g_test_suite_free (test_suite_root);
+  g_slist_free (test_paths);
+  g_slist_free (test_paths_skipped);
 
+  g_free (test_argv0_dirname);
   g_free (test_trap_last_stdout);
   g_free (test_trap_last_stderr);
   g_free (test_uri_base);
+  g_free (test_initial_cwd);
+
+  if (test_user_timer)
+    g_timer_destroy (test_user_timer);
 }
 
 /**


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