TSAGE: Added explicit freeing of thumbnail surface pixels
This commit is contained in:
parent
5a868a4008
commit
e8aa812608
1 changed files with 1 additions and 0 deletions
|
@ -290,6 +290,7 @@ void Saver::writeSavegameHeader(Common::OutSaveFile *out, tSageSavegameHeader &h
|
|||
::createThumbnail(thumb, (const byte *)s.pixels, SCREEN_WIDTH, SCREEN_HEIGHT, thumbPalette);
|
||||
Graphics::saveThumbnail(*out, *thumb);
|
||||
g_globals->_screenSurface.unlockSurface();
|
||||
thumb->free();
|
||||
delete thumb;
|
||||
|
||||
// Write out the save date/time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue