[gnome-control-center/wip/hadess/ppd-proxy-leak: 2/2] power: Fix D-Bus proxy leak
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/hadess/ppd-proxy-leak: 2/2] power: Fix D-Bus proxy leak
- Date: Wed, 21 Jul 2021 13:54:00 +0000 (UTC)
commit 738c15be6637ce95de4fc67a6d6a73a5d7ff3f8d
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 740d52c64..21183f39c 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -151,6 +151,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]