diff options
author | David Turner | 2010-11-09 11:02:06 +0000 |
---|---|---|
committer | David Turner | 2010-11-09 11:02:06 +0000 |
commit | 63d023964e1523d88463602a7b556e2c8fbe0799 (patch) | |
tree | 4b0c290fa42c6d25737b8b4c79e106cba737d551 /engines/mohawk/graphics.cpp | |
parent | 77a636aaec30f1e1e9f69038dbd397e9bb23dedf (diff) | |
download | scummvm-rg350-63d023964e1523d88463602a7b556e2c8fbe0799.tar.gz scummvm-rg350-63d023964e1523d88463602a7b556e2c8fbe0799.tar.bz2 scummvm-rg350-63d023964e1523d88463602a7b556e2c8fbe0799.zip |
MOHAWK: Close a number of memory leaks in Myst.
These corrections close a number of leaks reported by running Valgrind with --leak-check=full option, but some still remain, mainly in the image loading and caching.
svn-id: r54152
Diffstat (limited to 'engines/mohawk/graphics.cpp')
-rw-r--r-- | engines/mohawk/graphics.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/mohawk/graphics.cpp b/engines/mohawk/graphics.cpp index f472a9d721..a2fb8e3f0c 100644 --- a/engines/mohawk/graphics.cpp +++ b/engines/mohawk/graphics.cpp @@ -92,6 +92,7 @@ MystGraphics::~MystGraphics() { delete _bmpDecoder; delete _jpegDecoder; delete _pictDecoder; + delete[] _pictureFile.entries; } static const char* picFileNames[] = { |