diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-12-05 22:29:01 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-12-05 22:29:01 +0100 |
commit | 04d2f1030d540468f467074c64ac26c8e7bda74e (patch) | |
tree | b7c0bc3a2f195268b0185ba3e1d7c40f9bb57255 /src | |
parent | cb66a31027a1202ff075cac266354b5acd3cc10d (diff) |
fix memory leak when (re)loading HTTP files with --no-conversion-cache
Diffstat (limited to 'src')
-rw-r--r-- | src/imlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imlib.c b/src/imlib.c index f21290f..54bc327 100644 --- a/src/imlib.c +++ b/src/imlib.c @@ -383,7 +383,7 @@ int feh_load_image(Imlib_Image * im, feh_file * file) // add_file_to_rm_filelist duplicates tmpname add_file_to_rm_filelist(tmpname); - if (image_source != SRC_HTTP && !opt.use_conversion_cache) + if (!opt.use_conversion_cache) free(tmpname); } else if (im) { #ifdef HAVE_LIBEXIF |