From bb4f7c48f9510c1fd96de067cd8f18cd41b1a1f0 Mon Sep 17 00:00:00 2001 From: Ondrej Jirman Date: Sat, 30 May 2009 08:23:46 +0200 Subject: [PATCH] Fix incorrect freeing of thread pool in GThreadedSocketService (#584255) --- gio/gthreadedsocketservice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gthreadedsocketservice.c b/gio/gthreadedsocketservice.c index eccb216d6..57ca737eb 100644 --- a/gio/gthreadedsocketservice.c +++ b/gio/gthreadedsocketservice.c @@ -164,7 +164,7 @@ g_threaded_socket_service_finalize (GObject *object) { GThreadedSocketService *service = G_THREADED_SOCKET_SERVICE (object); - g_object_unref (service->priv->thread_pool); + g_thread_pool_free (service->priv->thread_pool, FALSE, TRUE); G_OBJECT_CLASS (g_threaded_socket_service_parent_class) ->finalize (object);