git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f258d9
)
fixed memory holes.
author
kramm
<kramm>
Thu, 7 Apr 2005 08:59:24 +0000
(08:59 +0000)
committer
kramm
<kramm>
Thu, 7 Apr 2005 08:59:24 +0000
(08:59 +0000)
lib/modules/swfrender.c
patch
|
blob
|
history
diff --git
a/lib/modules/swfrender.c
b/lib/modules/swfrender.c
index
fd9cb1a
..
237b449
100644
(file)
--- a/
lib/modules/swfrender.c
+++ b/
lib/modules/swfrender.c
@@
-1014,6
+1014,7
@@
void swf_RenderSWF(RENDERBUF*buf, SWF*swf)
swf_GetPlaceObject(tag, &p);
/* TODO: add move and deletion */
placements[numplacements++] = p;
+ swf_PlaceObjectFree(&p); //dirty! but it only removes items we don't need
}
tag = tag->next;
}
@@
-1053,6
+1054,7
@@
void swf_RenderSWF(RENDERBUF*buf, SWF*swf)
}
}
}
+ free(placements);
free(idtable);
free(depthtable);
}