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