aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indicator-power.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c
index dcd5db0..6b95b4c 100644
--- a/src/indicator-power.c
+++ b/src/indicator-power.c
@@ -899,6 +899,10 @@ indicator_power_init (IndicatorPower *self)
static void
indicator_power_dispose (GObject *object)
{
+ IndicatorPowerPrivate *priv = INDICATOR_POWER(object)->priv;
+
+ g_clear_object (&priv->settings);
+
G_OBJECT_CLASS (indicator_power_parent_class)->dispose (object);
}