[gnome-commander] Assign NULL to gcmd_settings in Options::operator=



commit b56e9b6b047747998dd8d403c49a1a09857dd1df
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Fri Oct 7 22:36:25 2016 +0200

    Assign NULL to gcmd_settings in Options::operator=

 src/gnome-cmd-data.cc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-data.cc b/src/gnome-cmd-data.cc
index 4031364..e1796ea 100644
--- a/src/gnome-cmd-data.cc
+++ b/src/gnome-cmd-data.cc
@@ -1398,6 +1398,7 @@ GnomeCmdData::Options &GnomeCmdData::Options::operator = (const Options &cfg)
         fav_apps = cfg.fav_apps;
         device_only_icon = cfg.device_only_icon;
         skip_mounting = cfg.skip_mounting;
+        gcmd_settings = NULL;
     }
 
     return *this;


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