Loading ChangeLog +6 −0 Original line number Diff line number Diff line git HEAD * Fix useless memory use when using feh --reload on HTTP URLs (fun fact: strictly speaking, this was not a memory leak) <https://github.com/derf/feh/issues/62> Sun, 11 Sep 2011 12:46:50 +0200 Daniel Friesel <derf@finalrewind.org> * Release v1.16.1 Loading src/imlib.c +3 −2 Original line number Diff line number Diff line Loading @@ -151,13 +151,14 @@ int feh_load_image(Imlib_Image * im, feh_file * file) /* Http, no reload, slideshow. Let's keep this image on hand... */ free(file->filename); file->filename = estrdup(tmpname); if (!opt.keep_http) add_file_to_rm_filelist(tmpname); } else { /* Don't cache the image if we're doing reload + http (webcams etc) */ if (!opt.keep_http) unlink(tmpname); } if (!opt.keep_http) add_file_to_rm_filelist(tmpname); free(tmpname); } else { *im = imlib_load_image_with_error_return(file->filename, &err); Loading Loading
ChangeLog +6 −0 Original line number Diff line number Diff line git HEAD * Fix useless memory use when using feh --reload on HTTP URLs (fun fact: strictly speaking, this was not a memory leak) <https://github.com/derf/feh/issues/62> Sun, 11 Sep 2011 12:46:50 +0200 Daniel Friesel <derf@finalrewind.org> * Release v1.16.1 Loading
src/imlib.c +3 −2 Original line number Diff line number Diff line Loading @@ -151,13 +151,14 @@ int feh_load_image(Imlib_Image * im, feh_file * file) /* Http, no reload, slideshow. Let's keep this image on hand... */ free(file->filename); file->filename = estrdup(tmpname); if (!opt.keep_http) add_file_to_rm_filelist(tmpname); } else { /* Don't cache the image if we're doing reload + http (webcams etc) */ if (!opt.keep_http) unlink(tmpname); } if (!opt.keep_http) add_file_to_rm_filelist(tmpname); free(tmpname); } else { *im = imlib_load_image_with_error_return(file->filename, &err); Loading