[glib] Plug a small memory leak
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Plug a small memory leak
- Date: Sun, 16 Jun 2013 13:31:09 +0000 (UTC)
commit 1eefcb4d66479ece8a7e6932cf65dee60d0c5984
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 16 09:28:59 2013 -0400
Plug a small memory leak
g_test_trap_assertions was leaking the process_id string.
glib/gtestutils.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]