mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-22 18:07:54 +02:00
Plug a small memory leak
g_test_trap_assertions was leaking the process_id string.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user