Plug a small memory leak
authorMatthias Clasen <mclasen@redhat.com>
Sun, 16 Jun 2013 13:28:59 +0000 (09:28 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 16 Jun 2013 13:28:59 +0000 (09:28 -0400)
g_test_trap_assertions was leaking the process_id string.

glib/gtestutils.c

index 11777ac..ebef320 100644 (file)
@@ -2714,6 +2714,7 @@ g_test_trap_assertions (const char     *domain,
       g_assertion_message (domain, file, line, func, msg);
       g_free (msg);
     }
+  g_free (process_id);
 }
 
 static void