diff --git a/glib/tests/spawn-multithreaded.c b/glib/tests/spawn-multithreaded.c index 41e126ecc..ef9521798 100644 --- a/glib/tests/spawn-multithreaded.c +++ b/glib/tests/spawn-multithreaded.c @@ -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; }