diff options
Diffstat (limited to 'engines/parallaction/location.cpp')
-rw-r--r-- | engines/parallaction/location.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/parallaction/location.cpp b/engines/parallaction/location.cpp index 5540d79785..d35739e299 100644 --- a/engines/parallaction/location.cpp +++ b/engines/parallaction/location.cpp @@ -219,11 +219,10 @@ void Parallaction::freeLocation() { _location._comment = NULL; debugC(7, kDebugLocation, "freeLocation: comments freed"); - // TODO (LIST): this should be _location._commands.clear(); - freeCommands(_location._commands); + _location._commands.clear(); debugC(7, kDebugLocation, "freeLocation: commands freed"); - freeCommands(_location._aCommands); + _location._aCommands.clear(); debugC(7, kDebugLocation, "freeLocation: acommands freed"); return; |