[gnome-commander] GnomeCmdData: fix for memory leak



commit ea783aabc52bafbcf2b7e5d54c7b84a6c5407797
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sun Nov 20 00:26:49 2011 +0100

    GnomeCmdData: fix for memory leak

 src/gnome-cmd-data.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-data.h b/src/gnome-cmd-data.h
index a385a07..20e2dbd 100644
--- a/src/gnome-cmd-data.h
+++ b/src/gnome-cmd-data.h
@@ -188,8 +188,11 @@ struct GnomeCmdData
 
         ~Options()
         {
+            // free color_themes    //  FIXME
             g_free (date_format);
             g_free (list_font);
+            g_free (theme_icon_dir);
+            g_free (document_icon_dir);
             g_free (backup_pattern);
             patlist_free (backup_pattern_list);
             g_free (viewer);



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