From 2f2d9bead758a001e3e003bc782540ad4c0c3d22 Mon Sep 17 00:00:00 2001 From: Borja Lorente Date: Sat, 13 Aug 2016 18:05:37 +0200 Subject: MACVENTURE: Fix double free --- engines/macventure/text.cpp | 1 - 1 file changed, 1 deletion(-) 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) { -- cgit v1.2.3