mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
TOON: Plug memory leak
This commit is contained in:
parent
29d6e9a754
commit
b53d8104b7
@ -935,10 +935,12 @@ bool ToonEngine::showOptions() {
|
|||||||
_gameState->_inMenu = false;
|
_gameState->_inMenu = false;
|
||||||
_firstFrame = true;
|
_firstFrame = true;
|
||||||
_gameState->_currentScrollValue = oldScrollValue;
|
_gameState->_currentScrollValue = oldScrollValue;
|
||||||
|
|
||||||
restorePalette();
|
restorePalette();
|
||||||
dirtyAllScreen();
|
dirtyAllScreen();
|
||||||
|
|
||||||
|
delete optionPicture;
|
||||||
|
|
||||||
return exitGame;
|
return exitGame;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user