[gnome-settings-daemon] Plug memory leak



commit b5e613644a34c097a81cc1254e1a2b569cad199f
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Wed Oct 6 11:23:37 2010 +0200

    Plug memory leak

 plugins/housekeeping/gsd-disk-space.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/housekeeping/gsd-disk-space.c b/plugins/housekeeping/gsd-disk-space.c
index fb9bcb0..51440e9 100644
--- a/plugins/housekeeping/gsd-disk-space.c
+++ b/plugins/housekeeping/gsd-disk-space.c
@@ -602,6 +602,8 @@ gsd_ldsm_get_config ()
                 /* Make sure we dont leave stale entries in ldsm_notified_hash */
                 g_hash_table_foreach_remove (ldsm_notified_hash,
                                              ldsm_is_hash_item_in_ignore_paths, NULL);
+
+                g_strfreev (settings_list);
         }
 }
 



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