git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added .bbox method to glyph in ruby interface
[swftools.git]
/
lib
/
png.c
diff --git
a/lib/png.c
b/lib/png.c
index
d71c19b
..
b74dfb0
100644
(file)
--- a/
lib/png.c
+++ b/
lib/png.c
@@
-486,6
+486,7
@@
EXPORT int getPNG(const char*sname, int*destwidth, int*destheight, unsigned char
}
if(!png_read_header(fi, &header)) {
+ fclose(fi);
return 0;
}