mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 11:04:44 +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;
|
||||
_firstFrame = true;
|
||||
_gameState->_currentScrollValue = oldScrollValue;
|
||||
|
||||
|
||||
restorePalette();
|
||||
dirtyAllScreen();
|
||||
|
||||
delete optionPicture;
|
||||
|
||||
return exitGame;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user