From 46efcd909dc04f6474f275071aadf41e7547f6d8 Mon Sep 17 00:00:00 2001 From: charles kerr Date: Fri, 1 Jan 2016 16:17:52 -0600 Subject: in Notifier's destructor, unref its SoundPlayer field --- src/notifier.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/notifier.c b/src/notifier.c index 0907a14..d5e8b5d 100644 --- a/src/notifier.c +++ b/src/notifier.c @@ -406,6 +406,7 @@ my_dispose (GObject * o) priv_t * const p = get_priv (self); indicator_power_notifier_set_bus (self, NULL); + indicator_power_notifier_set_sound_player (self, NULL); notification_clear (self); indicator_power_notifier_set_battery (self, NULL); g_clear_object (&p->dbus_battery); -- cgit v1.2.3