[glib/wip/gcleanup] gcancellable: Free up GPrivate in right cleanup context
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gcleanup] gcancellable: Free up GPrivate in right cleanup context
- Date: Sun, 10 Nov 2013 21:36:42 +0000 (UTC)
commit d6c8519928009e123dd46ea334bec8466a8101ee
Author: Stef Walter <stefw gnome org>
Date: Fri Nov 8 14:24:04 2013 +0100
gcancellable: Free up GPrivate in right cleanup context
https://bugzilla.gnome.org/show_bug.cgi?id=711799
gio/gcancellable.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gcancellable.c b/gio/gcancellable.c
index 0bbbf4b..6c7fd14 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]