Commit 472bd571 authored by Daniel Lockyer's avatar Daniel Lockyer
Browse files

src/main.c: free the malloc'ed sections of the options

parent 3cc26689
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);