From 1d6aa4d306ea2836beb303edece95d6d444035d0 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 23 Aug 2010 00:29:34 +0000 Subject: SWORD25: Fixed memory leak svn-id: r53279 --- engines/sword25/gfx/fontresource.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/engines/sword25/gfx/fontresource.cpp b/engines/sword25/gfx/fontresource.cpp index f51c246769..b077030bba 100644 --- a/engines/sword25/gfx/fontresource.cpp +++ b/engines/sword25/gfx/fontresource.cpp @@ -82,6 +82,7 @@ FontResource::FontResource(Kernel *pKernel, const Common::String &FileName) : _Valid = parse(); close(); + free(xmlData); } // ----------------------------------------------------------------------------- -- cgit v1.2.3