PARALLACTION: Fix for DoorData Memory Leak in Big Red Adventure.

svn-id: r55232
This commit is contained in:
David Turner 2011-01-13 21:58:54 +00:00
parent 460f8c277b
commit 00d78dd3d5

View File

@ -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]);