mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-03 07:53:39 +02:00
tests: Fix a memory leak in spawn-multithreaded
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
@@ -125,6 +125,7 @@ start_thread (gpointer user_data)
|
||||
g_test_message ("Created pid: %" G_PID_FORMAT " (ttl %d)", pid, ttl);
|
||||
|
||||
g_main_loop_run (new_main_loop);
|
||||
g_main_loop_unref (new_main_loop);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user