git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed a few minor mem leaks
[swftools.git]
/
lib
/
gfxpoly
/
convert.c
diff --git
a/lib/gfxpoly/convert.c
b/lib/gfxpoly/convert.c
index
717feba
..
213cdad
100644
(file)
--- a/
lib/gfxpoly/convert.c
+++ b/
lib/gfxpoly/convert.c
@@
-354,6
+354,7
@@
void gfxcompactpoly_destroy(gfxcompactpoly_t*poly)
int t;
for(t=0;t<poly->num_strokes;t++) {
free(poly->strokes[t].points);
+ poly->strokes[t].points = 0;
}
free(poly->strokes);
free(poly);