diff options
author | David Turner | 2011-01-13 21:58:54 +0000 |
---|---|---|
committer | David Turner | 2011-01-13 21:58:54 +0000 |
commit | 00d78dd3d5ad8ac985018e5781d15e57138d38b8 (patch) | |
tree | 18d839205cfd9b312e889fd81b12e845abaaaed3 | |
parent | 460f8c277b3b40b2fadbb9523fa1dfc502555979 (diff) | |
download | scummvm-rg350-00d78dd3d5ad8ac985018e5781d15e57138d38b8.tar.gz scummvm-rg350-00d78dd3d5ad8ac985018e5781d15e57138d38b8.tar.bz2 scummvm-rg350-00d78dd3d5ad8ac985018e5781d15e57138d38b8.zip |
PARALLACTION: Fix for DoorData Memory Leak in Big Red Adventure.
svn-id: r55232
-rw-r--r-- | engines/parallaction/parser_br.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/parser_br.cpp b/engines/parallaction/parser_br.cpp index 57259fd637..9748be0526 100644 --- a/engines/parallaction/parser_br.cpp +++ b/engines/parallaction/parser_br.cpp @@ -786,7 +786,7 @@ void LocationParser_br::parseDoorData(ZonePtr z) { _vm->_location._slideText[1] = _tokens[2]; } else if (!scumm_stricmp(_tokens[0], "location")) { - data->_doorLocation = strdup(_tokens[1]); + data->_doorLocation = _tokens[1]; } else if (!scumm_stricmp(_tokens[0], "file")) { GfxObj *obj = _vm->_gfx->loadDoor(_tokens[1]); |