fixed a mem leak
[swftools.git] / lib / pdf / InfoOutputDev.cc
index 8a00d98..75644bc 100644 (file)
@@ -88,6 +88,8 @@ FontInfo::~FontInfo()
        }
     }
     free(glyphs);glyphs=0;
+    if(this->gfxfont)
+        gfxfont_free(this->gfxfont);
 }
 
 gfxfont_t* createGfxFont(FontInfo*src)