mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-29 17:06:15 +01:00
Plug a small memory leak
g_test_trap_assertions was leaking the process_id string.
This commit is contained in:
parent
910732ea7e
commit
1eefcb4d66
@ -2714,6 +2714,7 @@ g_test_trap_assertions (const char *domain,
|
|||||||
g_assertion_message (domain, file, line, func, msg);
|
g_assertion_message (domain, file, line, func, msg);
|
||||||
g_free (msg);
|
g_free (msg);
|
||||||
}
|
}
|
||||||
|
g_free (process_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user