diff options
author | Michael Terry <mike@mterry.name> | 2011-01-11 12:07:58 -0600 |
---|---|---|
committer | Michael Terry <mike@mterry.name> | 2011-01-11 12:07:58 -0600 |
commit | 3f91473b3a8d052c6f73117eaa708c59f1e8c3c1 (patch) | |
tree | 3e707da3897200e6d59546356ca06831f91cc881 | |
parent | 367a69006a115bcd209c7498af708d433591cce9 (diff) | |
download | ayatana-indicator-session-3f91473b3a8d052c6f73117eaa708c59f1e8c3c1.tar.gz ayatana-indicator-session-3f91473b3a8d052c6f73117eaa708c59f1e8c3c1.tar.bz2 ayatana-indicator-session-3f91473b3a8d052c6f73117eaa708c59f1e8c3c1.zip |
also dispose of canel object
-rw-r--r-- | src/indicator-session.c | 5 |
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; |