git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dump out global methods
[swftools.git]
/
lib
/
readers
/
image.c
diff --git
a/lib/readers/image.c
b/lib/readers/image.c
index
449111a
..
00d6454
100644
(file)
--- a/
lib/readers/image.c
+++ b/
lib/readers/image.c
@@
-80,7
+80,9
@@
void imagepage_rendersection(gfxpage_t*page, gfxdevice_t*output, gfxcoord_t x, g
void image_doc_destroy(gfxdocument_t*gfx)
{
image_doc_internal_t*i= (image_doc_internal_t*)gfx->internal;
- // ...
+
+ free(i->img.data);i->img.data = 0;
+
free(gfx->internal);gfx->internal=0;
free(gfx);gfx=0;
}