aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2010-08-23 00:29:34 +0000
committerEugene Sandulenko2010-10-12 23:14:04 +0000
commit1d6aa4d306ea2836beb303edece95d6d444035d0 (patch)
treebc443824e5fc7c9d3fe0c5c4bbd74515b2ae1b30
parente7c9014b05995bfbc7b47e145a691b216328e537 (diff)
downloadscummvm-rg350-1d6aa4d306ea2836beb303edece95d6d444035d0.tar.gz
scummvm-rg350-1d6aa4d306ea2836beb303edece95d6d444035d0.tar.bz2
scummvm-rg350-1d6aa4d306ea2836beb303edece95d6d444035d0.zip
SWORD25: Fixed memory leak
svn-id: r53279
-rw-r--r--engines/sword25/gfx/fontresource.cpp1
1 files changed, 1 insertions, 0 deletions
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);
}
// -----------------------------------------------------------------------------