* image.c (png_load): Don't call fclose on NULL.
author |
Chong Yidong <cyd@stupidchicken.com> |
date |
Fri, 26 May 2006 03:33:32 +0000 |
parents |
57dcdf464411 |
children |
488f02720eed |
files |
src/ChangeLog src/image.c |
diffstat |
2 files changed, 4 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/src/ChangeLog Thu May 25 23:22:25 2006 +0000
+++ b/src/ChangeLog Fri May 26 03:33:32 2006 +0000
@@ -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):
--- a/src/image.c Thu May 25 23:22:25 2006 +0000
+++ b/src/image.c Fri May 26 03:33:32 2006 +0000
@@ -6104,7 +6104,6 @@
{
image_error ("Cannot open image file `%s'", file, Qnil);
UNGCPRO;
- fclose (fp);
return 0;
}