fixed a mem leak
authorkramm <kramm>
Sat, 4 Jun 2005 07:10:40 +0000 (07:10 +0000)
committerkramm <kramm>
Sat, 4 Jun 2005 07:10:40 +0000 (07:10 +0000)
pdf2swf/swfoutput.cc

index 179d9ed..f14507b 100644 (file)
@@ -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);