From ebfddf47ad2c6d7d00b34ebe54c1a7be49663224 Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 22 Apr 2008 09:30:22 +0000 Subject: [PATCH] fixed a small mem leak --- lib/pdf/GFXOutputDev.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) -- 1.7.10.4