aboutsummaryrefslogtreecommitdiff
path: root/engines/m4
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-01-19 20:41:51 +0000
committerTorbjörn Andersson2010-01-19 20:41:51 +0000
commit428f8d6955202a238ea7a8e887d707503a487449 (patch)
tree7df5bc2dabc63f55e94a79f7396007aee5e627e3 /engines/m4
parentf0e6c3f14204aec1d34860b0595495dbfd505b48 (diff)
downloadscummvm-rg350-428f8d6955202a238ea7a8e887d707503a487449.tar.gz
scummvm-rg350-428f8d6955202a238ea7a8e887d707503a487449.tar.bz2
scummvm-rg350-428f8d6955202a238ea7a8e887d707503a487449.zip
Fixed some cppcheck warnings.
svn-id: r47393
Diffstat (limited to 'engines/m4')
-rw-r--r--engines/m4/graphics.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/m4/graphics.cpp b/engines/m4/graphics.cpp
index eb66a2e20e..9b6a841164 100644
--- a/engines/m4/graphics.cpp
+++ b/engines/m4/graphics.cpp
@@ -106,6 +106,8 @@ void M4Surface::loadCodesMads(Common::SeekableReadStream *source) {
*ptr++ = 0;
}
}
+
+ delete[] walkMap;
}
// Sprite related methods