Commit c52021f3 authored by Tomasz Miąsko's avatar Tomasz Miąsko Committed by Tomasz Miąsko

tests: Don't leak check-proxies thread

parent d75605e8
......@@ -583,10 +583,8 @@ on_name_acquired (GDBusConnection *connection,
gpointer user_data)
{
GMainLoop *loop = user_data;
g_thread_new ("check-proxies",
check_proxies_in_thread,
loop);
GThread *thread = g_thread_new ("check-proxies", check_proxies_in_thread, loop);
g_thread_unref (thread);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment