summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 6634a88..46ab73d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -193,6 +193,12 @@ void feh_clean_exit(void)
{
delete_rm_files();
+ free(opt.menu_bg);
+ free(opt.menu_font);
+
+ if(disp)
+ XCloseDisplay(disp);
+
if (opt.filelistfile)
feh_write_filelist(filelist, opt.filelistfile);