projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
910732e
)
Plug a small memory leak
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 16 Jun 2013 13:28:59 +0000
(09:28 -0400)
committer
Matthias 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
patch
|
blob
|
history
diff --git
a/glib/gtestutils.c
b/glib/gtestutils.c
index
11777ac
..
ebef320
100644
(file)
--- 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