From 044fd251695f0c24227e08efee14f782df964236 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Thu, 14 Jan 2010 17:16:07 -0800 Subject: [PATCH] Fixed object leak. --- src/libnrtype/FontFactory.cpp | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2