diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-01-24 05:40:15 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-01-25 17:45:47 +0100 |
commit | 9353845a5f397a36440263800d9a70a80ab609ad (patch) | |
tree | 19290911dc9f9d5f970d8494a5f1d09072a219ee /src/thumbnail.c | |
parent | f0461a03f3873858c8febb6a3eac83c04496ac4d (diff) |
free opt.start_list_at before NULLing it
Diffstat (limited to 'src/thumbnail.c')
-rw-r--r-- | src/thumbnail.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thumbnail.c b/src/thumbnail.c index e7b05a8..9781027 100644 --- a/src/thumbnail.c +++ b/src/thumbnail.c @@ -411,6 +411,7 @@ void init_thumbnail_mode(void) else if (opt.start_list_at) { for (l = thumbnails; l; l = l->next) { if (!strcmp(opt.start_list_at, FEH_THUMB(l->data)->file->filename)) { + free(opt.start_list_at); opt.start_list_at = NULL; feh_thumbnail_select(winwid, FEH_THUMB(l->data)); break; |