[gnome-commander/GSettings] Closes gnome_config file after migration



commit ea41bd9a69671794540d8b71be3fe12297dbed3e
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sat Aug 6 12:05:24 2016 +0200

    Closes gnome_config file after migration

 src/gnome-cmd-data.cc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-data.cc b/src/gnome-cmd-data.cc
index 7c6c8cc..cd3033f 100644
--- a/src/gnome-cmd-data.cc
+++ b/src/gnome-cmd-data.cc
@@ -3011,6 +3011,8 @@ void GnomeCmdData::migrate_all_data_to_gsettings()
                                                         options.gcmd_settings->internalviewer, 
GCMD_SETTINGS_IV_SEARCH_PATTERN_HEX);
         g_free(color);
 
+        fclose (fd);
+
         // Rename config file
         gchar* temp;
         temp = g_strdup_printf("%s.deprecated", package_config_path);


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