summaryrefslogtreecommitdiff
path: root/src/slideshow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/slideshow.c')
-rw-r--r--src/slideshow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slideshow.c b/src/slideshow.c
index b57d5c5..4a71dc3 100644
--- a/src/slideshow.c
+++ b/src/slideshow.c
@@ -686,6 +686,7 @@ void feh_filelist_image_remove(winwidget winwid, char do_delete)
filelist = feh_file_rm_and_free(filelist, winwid->file);
else
filelist = feh_file_remove_from_list(filelist, winwid->file);
+ winwid->file = NULL;
winwidget_destroy(winwid);
}
}