aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/indicator-session.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c
index d98bd1f..8d3ce61 100644
--- a/src/indicator-session.c
+++ b/src/indicator-session.c
@@ -184,6 +184,11 @@ indicator_session_dispose (GObject *object)
self->service = NULL;
}
+ if (self->service_proxy_cancel != NULL) {
+ g_object_unref(self->service_proxy_cancel);
+ self->service_proxy_cancel = NULL;
+ }
+
if (self->service_proxy != NULL) {
g_object_unref(self->service_proxy);
self->service_proxy = NULL;