summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lockyer <thisisdaniellockyer@gmail.com>2016-05-01 21:53:13 +0100
committerDaniel Lockyer <thisisdaniellockyer@gmail.com>2016-05-01 21:53:13 +0100
commit472bd57164d61ae5ed400d3ec50ac597b69df9b5 (patch)
treeae1ccaf7efbf351a3160b085ab9800c461a00d3f
parent3cc26689e47d37e95f8adc954f80d3754f94b1b7 (diff)
src/main.c: free the malloc'ed sections of the options
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 6634a88..ae3469f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -193,6 +193,9 @@ void feh_clean_exit(void)
{
delete_rm_files();
+ free(opt.menu_bg);
+ free(opt.menu_font);
+
if (opt.filelistfile)
feh_write_filelist(filelist, opt.filelistfile);