From: Jon A. Cruz Date: Fri, 15 Jan 2010 01:16:07 +0000 (-0800) Subject: Fixed object leak. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=044fd251695f0c24227e08efee14f782df964236;p=inkscape.git Fixed object leak. --- diff --git a/src/libnrtype/FontFactory.cpp b/src/libnrtype/FontFactory.cpp index afce4d849..761da7756 100644 --- a/src/libnrtype/FontFactory.cpp +++ b/src/libnrtype/FontFactory.cpp @@ -333,6 +333,7 @@ font_factory::~font_factory(void) { if (loadedPtr) { FaceMapType* tmp = static_cast(loadedPtr); + delete tmp; loadedPtr = 0; }