From: Ondrej Jirman Date: Sat, 30 May 2009 06:23:46 +0000 (+0200) Subject: Fix incorrect freeing of thread pool in GThreadedSocketService (#584255) X-Git-Tag: 2.21.2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb4f7c48f9510c1fd96de067cd8f18cd41b1a1f0;p=platform%2Fupstream%2Fglib.git Fix incorrect freeing of thread pool in GThreadedSocketService (#584255) --- diff --git a/gio/gthreadedsocketservice.c b/gio/gthreadedsocketservice.c index eccb216..57ca737 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);