[glib/wip/gcleanup: 23/79] gcleanup: Add in more gtestutils.c cleanups



commit 98d9b2682c7a6e0e2a22ea20790419686b9a0dfa
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]