From facde95b2b773f03331a1785082078f3a7f91b64 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Mon, 2 May 2016 16:35:11 +0100 Subject: src/main.c: rebase master and fix segfault issue --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/main.c b/src/main.c index ae3469f..fef86b4 100644 --- a/src/main.c +++ b/src/main.c @@ -196,6 +196,9 @@ void feh_clean_exit(void) free(opt.menu_bg); free(opt.menu_font); + if(disp) + XCloseDisplay(disp); + if (opt.filelistfile) feh_write_filelist(filelist, opt.filelistfile); -- cgit v1.2.3