]> git.eshelyaron.com Git - emacs.git/commitdiff
* image.c (png_load): Don't call fclose on NULL.
authorChong Yidong <cyd@stupidchicken.com>
Fri, 26 May 2006 03:33:32 +0000 (03:33 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 26 May 2006 03:33:32 +0000 (03:33 +0000)
src/ChangeLog
src/image.c

index cc3f2e15915682a2044890c1af3f12cd09d45d21..857c7ae7eaf024f215bfefcdae67fcc80ed6b209 100644 (file)
@@ -1,3 +1,7 @@
+2006-05-25  Chong Yidong  <cyd@stupidchicken.com>
+
+       * image.c (png_load): Don't call fclose on NULL.
+
 2006-05-25  Luc Teirlinck  <teirllm@auburn.edu>
 
        * fns.c (Fyes_or_no_p):
index c317418326fff22536015f499a26d34afe8e2af7..70ffabc1937879ad601278b509bbf6c5ac360509 100644 (file)
@@ -6104,7 +6104,6 @@ png_load (f, img)
        {
          image_error ("Cannot open image file `%s'", file, Qnil);
          UNGCPRO;
-         fclose (fp);
          return 0;
        }