aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2015-06-12 23:14:11 +0200
committerMartin Kiewitz2015-06-12 23:14:11 +0200
commitfd14f53a3b80b6d26425e3c7b724f76c7d7ac6d8 (patch)
treeb82ed0d5dbec018312ddd94ffa647fdebc32d0ae
parent132f33a3065afd931e81af5728cdee0368b6b5fe (diff)
downloadscummvm-rg350-fd14f53a3b80b6d26425e3c7b724f76c7d7ac6d8.tar.gz
scummvm-rg350-fd14f53a3b80b6d26425e3c7b724f76c7d7ac6d8.tar.bz2
scummvm-rg350-fd14f53a3b80b6d26425e3c7b724f76c7d7ac6d8.zip
SHERLOCK: 3DO: font support: free memory
-rw-r--r--engines/sherlock/image_file.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sherlock/image_file.cpp b/engines/sherlock/image_file.cpp
index 47fe387038..660c38e2f7 100644
--- a/engines/sherlock/image_file.cpp
+++ b/engines/sherlock/image_file.cpp
@@ -907,6 +907,9 @@ void ImageFile3DO::loadFont(Common::SeekableReadStream &stream) {
push_back(imageFrame);
}
}
+
+ delete[] bitsTablePtr;
+ delete[] widthTablePtr;
}
} // End of namespace Sherlock