aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
authorChong Yidong2006-05-26 03:33:32 +0000
committerChong Yidong2006-05-26 03:33:32 +0000
commit3165e4509a795c2a9204fda98fa3844fbfcde01a (patch)
tree9a127406cd717b591a29de8351be7c6f72aac701 /src/image.c
parentd579f53bdd731b5d42fd6c74f0f7c00a2f7a87da (diff)
downloademacs-3165e4509a795c2a9204fda98fa3844fbfcde01a.tar.gz
emacs-3165e4509a795c2a9204fda98fa3844fbfcde01a.zip
* image.c (png_load): Don't call fclose on NULL.
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c
index c317418326f..70ffabc1937 100644
--- a/src/image.c
+++ b/src/image.c
@@ -6104,7 +6104,6 @@ png_load (f, img)
6104 { 6104 {
6105 image_error ("Cannot open image file `%s'", file, Qnil); 6105 image_error ("Cannot open image file `%s'", file, Qnil);
6106 UNGCPRO; 6106 UNGCPRO;
6107 fclose (fp);
6108 return 0; 6107 return 0;
6109 } 6108 }
6110 6109