From 2fe8a0946feb93abebf36bff2173542ff4000956 Mon Sep 17 00:00:00 2001 From: kramm Date: Sat, 4 Jun 2005 07:10:40 +0000 Subject: [PATCH] fixed a mem leak --- pdf2swf/swfoutput.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdf2swf/swfoutput.cc b/pdf2swf/swfoutput.cc index 179d9ed..f14507b 100644 --- a/pdf2swf/swfoutput.cc +++ b/pdf2swf/swfoutput.cc @@ -1545,6 +1545,7 @@ void swfresult_destroy(gfxresult_t*gfx) gfx->internal = 0; } memset(gfx, 0, sizeof(gfxresult_t)); + free(gfx); } static void swfoutput_destroy(gfxdevice_t* dev); -- 1.7.10.4