fixed a small mem leak
authorkramm <kramm>
Tue, 22 Apr 2008 09:30:22 +0000 (09:30 +0000)
committerkramm <kramm>
Tue, 22 Apr 2008 09:30:22 +0000 (09:30 +0000)
lib/pdf/GFXOutputDev.cc

index 0fb2591..868fd77 100644 (file)
@@ -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)