aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/location.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/location.cpp')
-rw-r--r--engines/parallaction/location.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/location.cpp b/engines/parallaction/location.cpp
index ff0f13c943..edd7b319cb 100644
--- a/engines/parallaction/location.cpp
+++ b/engines/parallaction/location.cpp
@@ -213,13 +213,13 @@ void freeLocation() {
debugC(7, kDebugLocation, "freeLocation: comments freed");
if (_vm->_location._commands) {
- freeNodeList(&_vm->_location._commands->_node);
+ freeNodeList(_vm->_location._commands);
}
_vm->_location._commands = NULL;
debugC(7, kDebugLocation, "freeLocation: commands freed");
if (_vm->_location._aCommands) {
- freeNodeList(&_vm->_location._aCommands->_node);
+ freeNodeList(_vm->_location._aCommands);
}
_vm->_location._aCommands = NULL;
debugC(7, kDebugLocation, "freeLocation: acommands freed");