[gnome-control-center] datetime: Plug a small memory leak



commit 5f21f92f7fed999d518dd3d62a2731519a15b69e
Author: Kalev Lember <kalevlember gmail com>
Date:   Thu Sep 12 21:37:59 2013 +0200

    datetime: Plug a small memory leak

 panels/datetime/cc-datetime-panel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/datetime/cc-datetime-panel.c b/panels/datetime/cc-datetime-panel.c
index 6041c87..443c058 100644
--- a/panels/datetime/cc-datetime-panel.c
+++ b/panels/datetime/cc-datetime-panel.c
@@ -138,6 +138,7 @@ cc_date_time_panel_dispose (GObject *object)
   g_clear_object (&priv->dtm);
   g_clear_object (&priv->permission);
   g_clear_object (&priv->clock_settings);
+  g_clear_object (&priv->datetime_settings);
 
   g_clear_pointer (&priv->date, g_date_time_unref);
 


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