aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-08-20 08:43:47 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-08-20 08:43:47 -0500
commite48d65866fa228929ddc545eac456635bf763501 (patch)
treec2b2b2952d390941650f9a71dea6c03a40dc4fc2
parent4759a380da77dd1f8746f298a5ae051319a70ddd (diff)
downloadayatana-indicator-session-e48d65866fa228929ddc545eac456635bf763501.tar.gz
ayatana-indicator-session-e48d65866fa228929ddc545eac456635bf763501.tar.bz2
ayatana-indicator-session-e48d65866fa228929ddc545eac456635bf763501.zip
fix minor GCancellable memory leak noticed while fixing 1205273
-rw-r--r--src/backend-dbus/actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend-dbus/actions.c b/src/backend-dbus/actions.c
index 17547f0..2550fdb 100644
--- a/src/backend-dbus/actions.c
+++ b/src/backend-dbus/actions.c
@@ -169,7 +169,7 @@ set_dm_seat (IndicatorSessionActionsDbus * self, DisplayManagerSeat * seat)
if (p->dm_seat != NULL)
{
g_cancellable_cancel (p->dm_seat_cancellable);
- g_clear_object (&p->dm_seat);
+ g_clear_object (&p->dm_seat_cancellable);
g_clear_object (&p->dm_seat);
}