diff options
| -rw-r--r-- | engines/mohawk/console.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/mohawk/console.cpp b/engines/mohawk/console.cpp index fc957e895e..ce22132cee 100644 --- a/engines/mohawk/console.cpp +++ b/engines/mohawk/console.cpp @@ -531,6 +531,7 @@ bool RivenConsole::Cmd_DumpScript(int argc, const char **argv) {  		varNames.push_back(name);  	}  	delete nameStream; +	delete[] stringOffsets;  	// Load in External Command Names  	nameStream = _vm->getResource(ID_NAME, ExternalCommandNames); @@ -552,6 +553,7 @@ bool RivenConsole::Cmd_DumpScript(int argc, const char **argv) {  		xNames.push_back(name);  	}  	delete nameStream; +	delete[] stringOffsets;  	// Get CARD/HSPT data and dump their scripts  	if (!scumm_stricmp(argv[2], "CARD")) {  | 
