]> git.pld-linux.org Git - packages/feh.git/blobdiff - feh-non_memleak.patch
- already applied in source
[packages/feh.git] / feh-non_memleak.patch
diff --git a/feh-non_memleak.patch b/feh-non_memleak.patch
deleted file mode 100644 (file)
index 96a8f04..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
---- ./src/imlib.c.org  2011-09-13 10:09:21.351470521 +0200
-+++ ./src/imlib.c      2011-09-13 10:09:38.442241678 +0200
-@@ -151,13 +151,14 @@ int feh_load_image(Imlib_Image * im, feh
-                       /* 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);
This page took 0.062893 seconds and 4 git commands to generate.