diff options
Diffstat (limited to 'engines/gnap/menu.cpp')
-rw-r--r-- | engines/gnap/menu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gnap/menu.cpp b/engines/gnap/menu.cpp index 2bfe7300df..9606273b4c 100644 --- a/engines/gnap/menu.cpp +++ b/engines/gnap/menu.cpp @@ -211,7 +211,7 @@ void GnapEngine::runMenu() { _menuDone = false; delete _tempThumbnail; - _tempThumbnail = new Common::MemoryWriteStreamDynamic; + _tempThumbnail = new Common::MemoryWriteStreamDynamic(DisposeAfterUse::YES); Graphics::saveThumbnail(*_tempThumbnail); createMenuSprite(); |