diff options
author | Paul Gilbert | 2010-08-23 00:29:34 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-12 23:14:04 +0000 |
commit | 1d6aa4d306ea2836beb303edece95d6d444035d0 (patch) | |
tree | bc443824e5fc7c9d3fe0c5c4bbd74515b2ae1b30 | |
parent | e7c9014b05995bfbc7b47e145a691b216328e537 (diff) | |
download | scummvm-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.cpp | 1 |
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); } // ----------------------------------------------------------------------------- |