From: kramm Date: Tue, 22 Apr 2008 09:30:22 +0000 (+0000) Subject: fixed a small mem leak X-Git-Tag: buttons-working~237 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=ebfddf47ad2c6d7d00b34ebe54c1a7be49663224;p=swftools.git fixed a small mem leak --- diff --git a/lib/pdf/GFXOutputDev.cc b/lib/pdf/GFXOutputDev.cc index 0fb2591..868fd77 100644 --- a/lib/pdf/GFXOutputDev.cc +++ b/lib/pdf/GFXOutputDev.cc @@ -73,8 +73,6 @@ #include "../devices/polyops.h" #include "../devices/render.h" -#include "../art/libart.h" - #include "../png.h" #include "fonts.h" @@ -1128,7 +1126,7 @@ void GFXOutputDev::strokeGfxline(GfxState *state, gfxline_t*line, int flags) } else { device->fill(device, gfxline, &col); } - free(gfxline); + gfxline_free(gfxline); gfxpoly_free(poly); } else { if(flags&STROKE_CLIP)