From afc091939635eb46f2947cfe1aaadcb408de2835 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 4 Jan 2016 10:08:39 -0600 Subject: add a leak safeguard to accounts_service_sound_proxy --- src/notifier.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/notifier.c b/src/notifier.c index 487f889..696556a 100644 --- a/src/notifier.c +++ b/src/notifier.c @@ -176,6 +176,7 @@ on_sound_proxy_ready (GObject * source_object G_GNUC_UNUSED, { IndicatorPowerNotifier * const self = INDICATOR_POWER_NOTIFIER(gself); priv_t * const p = get_priv (self); + g_clear_object (&p->accounts_service_sound_proxy); p->accounts_service_sound_proxy = proxy; } } -- cgit v1.2.3