aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-06-17 05:40:48 +0000
committerTorbjörn Andersson2010-06-17 05:40:48 +0000
commitf10b1a23f807d7889a2776ce80ea8b7a77160eb5 (patch)
tree532d03db6fb7108db69e9d8450ba13c367a960b4 /engines/groovie
parent39276e82dbebf55e68ecc298cbeef01133fb0bf8 (diff)
downloadscummvm-rg350-f10b1a23f807d7889a2776ce80ea8b7a77160eb5.tar.gz
scummvm-rg350-f10b1a23f807d7889a2776ce80ea8b7a77160eb5.tar.bz2
scummvm-rg350-f10b1a23f807d7889a2776ce80ea8b7a77160eb5.zip
Fixed a few cppcheck errors.
svn-id: r49919
Diffstat (limited to 'engines/groovie')
-rw-r--r--engines/groovie/font.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/groovie/font.cpp b/engines/groovie/font.cpp
index 6aa6c89d31..dc1d7ae73a 100644
--- a/engines/groovie/font.cpp
+++ b/engines/groovie/font.cpp
@@ -54,6 +54,7 @@ bool T7GFont::load(Common::SeekableReadStream &stream) {
if (stream.eos()) {
error("Groovie::T7GFont: Couldn't read the glyph offsets");
+ delete[] glyphOffsets;
return false;
}