[gnome-settings-daemon] power: Free leaked UPower keyboard backlight proxy



commit c68953eb8752c2ca00a1cc83810bb8ce80b2e59e
Author: Hans de Goede <hdegoede redhat com>
Date:   Fri Oct 14 18:10:47 2016 +0200

    power: Free leaked UPower keyboard backlight proxy
    
    Free upower_kbd_proxy on power_manager_stop().
    
    https://bugzilla.gnome.org/show_bug.cgi?id=773402

 plugins/power/gsd-power-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index 0adae2d..bc463df 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -2703,6 +2703,7 @@ gsd_power_manager_stop (GsdPowerManager *manager)
         play_loop_stop (&manager->priv->critical_alert_timeout_id);
 
         g_clear_object (&manager->priv->idle_monitor);
+        g_clear_object (&manager->priv->upower_kbd_proxy);
 
         if (manager->priv->xscreensaver_watchdog_timer_id > 0) {
                 g_source_remove (manager->priv->xscreensaver_watchdog_timer_id);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]