git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more bugfixes in font transform code
[swftools.git]
/
lib
/
gfximage.c
diff --git
a/lib/gfximage.c
b/lib/gfximage.c
index
f1eda7d
..
b47031f
100644
(file)
--- a/
lib/gfximage.c
+++ b/
lib/gfximage.c
@@
-19,6
+19,7
@@
void gfximage_save_jpeg(gfximage_t*img, const char*filename, int quality)
data[s+2] = img->data[t].b;
}
jpeg_save(data, img->width, img->height, quality, filename);
+ free(data);
}
void gfximage_save_png(gfximage_t*image, const char*filename)