aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBorja Lorente2016-08-13 18:05:37 +0200
committerBorja Lorente2016-08-19 16:29:17 +0200
commit2f2d9bead758a001e3e003bc782540ad4c0c3d22 (patch)
treee1aa6e0796226353189b11e0566836f07b9c00b8
parent019f3d4b626f290fa7e2bc6c6be0ab5c43ecd468 (diff)
downloadscummvm-rg350-2f2d9bead758a001e3e003bc782540ad4c0c3d22.tar.gz
scummvm-rg350-2f2d9bead758a001e3e003bc782540ad4c0c3d22.tar.bz2
scummvm-rg350-2f2d9bead758a001e3e003bc782540ad4c0c3d22.zip
MACVENTURE: Fix double free
-rw-r--r--engines/macventure/text.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/macventure/text.cpp b/engines/macventure/text.cpp
index d15401ac3a..76ea7dfd96 100644
--- a/engines/macventure/text.cpp
+++ b/engines/macventure/text.cpp
@@ -174,7 +174,6 @@ void TextAsset::decodeHuffman() {
}
}
_decoded += '\0';
- delete res;
debugC(4, kMVDebugText, "Decoded %d'th string (new): %s", _id, _decoded.c_str());
}
Common::String TextAsset::getNoun(ObjID subval) {