From 35d1f904be07a3edfd388dd563f1142609aa6d3c Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Wed, 21 Jan 2009 16:49:13 -0800 Subject: [PATCH] fixed a mem leak --- lib/pdf/InfoOutputDev.cc | 2 ++ 1 file changed, 2 insertions(+) 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) -- 1.7.10.4