[gnome-control-center/wip/hadess/ppd-proxy-leak] power: Fix D-Bus proxy leak
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/hadess/ppd-proxy-leak] power: Fix D-Bus proxy leak
- Date: Wed, 21 Jul 2021 10:27:13 +0000 (UTC)
commit 4c8f8a315512ef70f95a7928faa564e21ec58fa8
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]