From: Matthias Kramm Date: Thu, 22 Jan 2009 00:49:13 +0000 (-0800) Subject: fixed a mem leak X-Git-Tag: release-0-9-0~225 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=35d1f904be07a3edfd388dd563f1142609aa6d3c fixed a mem leak --- diff --git a/lib/pdf/InfoOutputDev.cc b/lib/pdf/InfoOutputDev.cc index 8a00d98..75644bc 100644 --- a/lib/pdf/InfoOutputDev.cc +++ b/lib/pdf/InfoOutputDev.cc @@ -88,6 +88,8 @@ FontInfo::~FontInfo() } } free(glyphs);glyphs=0; + if(this->gfxfont) + gfxfont_free(this->gfxfont); } gfxfont_t* createGfxFont(FontInfo*src)