From 0d51ff79edfb39d8b9e4d775a399404c1641784d Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 9 Nov 2013 20:28:41 +0100 Subject: [PATCH] gdbus-connection: Fix use after free in test https://bugzilla.gnome.org/show_bug.cgi?id=711802 --- gio/tests/gdbus-connection.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gio/tests/gdbus-connection.c b/gio/tests/gdbus-connection.c index 9cd1e1006..56e5b6c1e 100644 --- a/gio/tests/gdbus-connection.c +++ b/gio/tests/gdbus-connection.c @@ -1142,10 +1142,7 @@ test_connection_serials (void) /* Wait until threads are finished */ for (i = 0; i < NUM_THREADS; i++) - { g_thread_join (pool[i]); - g_thread_unref (pool[i]); - } /* No calls in between on this thread, should be the last value */ g_assert_cmpint (g_dbus_connection_get_last_serial (c), ==, 2);