git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed ':' after pool statistics
[swftools.git]
/
lib
/
devices
/
swf.c
diff --git
a/lib/devices/swf.c
b/lib/devices/swf.c
index
2f410e7
..
20cb71b
100644
(file)
--- a/
lib/devices/swf.c
+++ b/
lib/devices/swf.c
@@
-1622,6
+1622,8
@@
void swfoutput_linktourl(gfxdevice_t*dev, const char*url, gfxline_t*points)
actions = action_End(actions);
drawlink(dev, actions, 0, points, 0, url);
actions = action_End(actions);
drawlink(dev, actions, 0, points, 0, url);
+
+ swf_ActionFree(actions);
}
void swfoutput_linktopage(gfxdevice_t*dev, int page, gfxline_t*points)
{
}
void swfoutput_linktopage(gfxdevice_t*dev, int page, gfxline_t*points)
{
@@
-1648,6
+1650,8
@@
void swfoutput_linktopage(gfxdevice_t*dev, int page, gfxline_t*points)
sprintf(name, "page%d", page);
drawlink(dev, actions, 0, points, 0, name);
sprintf(name, "page%d", page);
drawlink(dev, actions, 0, points, 0, name);
+
+ swf_ActionFree(actions);
}
/* Named Links (a.k.a. Acrobatmenu) are used to implement various gadgets
}
/* Named Links (a.k.a. Acrobatmenu) are used to implement various gadgets
@@
-1780,6
+1784,7
@@
static void drawlink(gfxdevice_t*dev, ActionTAG*actions1, ActionTAG*actions2, gf
i->swflastx = i->swflasty = 0;
drawgfxline(dev, points, 1);
swf_ShapeSetEnd(i->tag);
i->swflastx = i->swflasty = 0;
drawgfxline(dev, points, 1);
swf_ShapeSetEnd(i->tag);
+ swf_ShapeFree(i->shape);
/* shape2 */
myshapeid2 = getNewID(dev);
/* shape2 */
myshapeid2 = getNewID(dev);
@@
-1803,6
+1808,7
@@
static void drawlink(gfxdevice_t*dev, ActionTAG*actions1, ActionTAG*actions2, gf
i->swflastx = i->swflasty = 0;
drawgfxline(dev, points, 1);
swf_ShapeSetEnd(i->tag);
i->swflastx = i->swflasty = 0;
drawgfxline(dev, points, 1);
swf_ShapeSetEnd(i->tag);
+ swf_ShapeFree(i->shape);
if(!mouseover)
{
if(!mouseover)
{