From 716068850d15c059c63f65db23ac8804d452aeca Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 8 Nov 2013 14:24:04 +0100 Subject: [PATCH] gcancellable: Free up GPrivate in right cleanup context https://bugzilla.gnome.org/show_bug.cgi?id=711799 --- gio/gcancellable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gcancellable.c b/gio/gcancellable.c index 2e3b4a057..1440cd316 100644 --- a/gio/gcancellable.c +++ b/gio/gcancellable.c @@ -57,7 +57,7 @@ static guint signals[LAST_SIGNAL] = { 0 }; G_DEFINE_TYPE_WITH_PRIVATE (GCancellable, g_cancellable, G_TYPE_OBJECT) -static GPrivate current_cancellable; +static GPrivate current_cancellable = G_PRIVATE_INIT (NULL); static GMutex cancellable_mutex; static GCond cancellable_cond;