From cd78145dbde04d029d1edbcbd533d2c43a68828d Mon Sep 17 00:00:00 2001 From: Alberto Mardegan Date: Fri, 18 Jan 2013 14:38:12 +0200 Subject: [PATCH] Don't leak the GCancellable --- libsignon-glib/signon-identity.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libsignon-glib/signon-identity.c b/libsignon-glib/signon-identity.c index 2e0989f..36ae475 100644 --- a/libsignon-glib/signon-identity.c +++ b/libsignon-glib/signon-identity.c @@ -241,6 +241,7 @@ signon_identity_dispose (GObject *object) if (priv->cancellable) { g_cancellable_cancel (priv->cancellable); + g_object_unref (priv->cancellable); priv->cancellable = NULL; } -- 2.7.4