[glib] Fix incorrect freeing of thread pool in GThreadedSocketService (#584255)
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [glib] Fix incorrect freeing of thread pool in GThreadedSocketService (#584255)
- Date: Mon, 15 Jun 2009 09:58:27 -0400 (EDT)
commit bb4f7c48f9510c1fd96de067cd8f18cd41b1a1f0
Author: Ondrej Jirman <megous megous com>
Date: Sat May 30 08:23:46 2009 +0200
Fix incorrect freeing of thread pool in GThreadedSocketService (#584255)
gio/gthreadedsocketservice.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]