X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fdevices%2Fswf.c;h=2969e750abfb8eaec01139ef2c611d83df9447a1;hb=fc0b3bbd680ad6aee83ff13cb57f5016a442d0e2;hp=2f410e79b9a3f0c3497e1a83e35b267e7bf42f79;hpb=75b8553b58806406c4378e3685e94883f6703fc0;p=swftools.git diff --git a/lib/devices/swf.c b/lib/devices/swf.c index 2f410e7..2969e75 100644 --- a/lib/devices/swf.c +++ b/lib/devices/swf.c @@ -1780,6 +1780,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); + swf_ShapeFree(i->shape); /* shape2 */ myshapeid2 = getNewID(dev); @@ -1803,6 +1804,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); + swf_ShapeFree(i->shape); if(!mouseover) {