From 1eefcb4d66479ece8a7e6932cf65dee60d0c5984 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 16 Jun 2013 09:28:59 -0400 Subject: [PATCH] Plug a small memory leak g_test_trap_assertions was leaking the process_id string. --- glib/gtestutils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/glib/gtestutils.c b/glib/gtestutils.c index 11777ac..ebef320 100644 --- a/glib/gtestutils.c +++ b/glib/gtestutils.c @@ -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 -- 2.7.4