[gnome-commander/GSettings] Free dangling char pointer



commit 688b6ddb524c423d3230d81e7eb54da0f4bd2b52
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sun Jun 19 20:58:52 2016 +0200

    Free dangling char pointer

 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 278a387..ffca1cc 100644
--- a/src/gnome-cmd-data.cc
+++ b/src/gnome-cmd-data.cc
@@ -185,6 +185,7 @@ void on_list_font_changed ()
     gnome_cmd_data.options.list_font = list_font;
 
     main_win->update_view();
+    g_free(list_font);
 }
 
 void on_ext_disp_mode_changed ()


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