[gnome-control-center/wip/hadess/ppd-proxy-leak-40] power: Fix D-Bus proxy leak




commit 022934bfb337f8443f7f12f1b2ca413dccae8a1f
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jul 21 12:26:39 2021 +0200

    power: Fix D-Bus proxy leak

 panels/power/cc-power-panel.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index 0b8226a29..a96616ea3 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -166,6 +166,7 @@ cc_power_panel_dispose (GObject *object)
   g_clear_object (&self->bt_rfkill);
   g_clear_object (&self->bt_properties);
   g_clear_object (&self->iio_proxy);
+  g_clear_object (&self->power_profiles_proxy);
 #ifdef HAVE_NETWORK_MANAGER
   g_clear_object (&self->nm_client);
 #endif


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