mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 03:10:22 +00:00
ZVISION: Cleanup _activeControls in ScriptManager destructor
This commit is contained in:
parent
78d5a41cd0
commit
34dcea106a
@ -48,6 +48,9 @@ ScriptManager::~ScriptManager() {
|
||||
for (Common::List<Puzzle *>::iterator iter = _globalPuzzles.begin(); iter != _globalPuzzles.end(); iter++) {
|
||||
delete (*iter);
|
||||
}
|
||||
for (Common::List<Control *>::iterator iter = _activeControls.begin(); iter != _activeControls.end(); iter++) {
|
||||
delete (*iter);
|
||||
}
|
||||
}
|
||||
|
||||
void ScriptManager::initialize() {
|
||||
|
Loading…
Reference in New Issue
Block a user