diff options
author | Johannes Schickel | 2010-08-02 22:27:50 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-08-02 22:27:50 +0000 |
commit | 0dba655085e3c5f025ae111be4929d5a9250d95a (patch) | |
tree | 5cca389a0853f828c262cd9a7d248dfd3ff43941 /engines/m4/animation.cpp | |
parent | dd38e424e7ec87990019f4a811fdc25c62fe1729 (diff) | |
download | scummvm-rg350-0dba655085e3c5f025ae111be4929d5a9250d95a.tar.gz scummvm-rg350-0dba655085e3c5f025ae111be4929d5a9250d95a.tar.bz2 scummvm-rg350-0dba655085e3c5f025ae111be4929d5a9250d95a.zip |
SCI: Fix memory leak.
This was a quite bad leak in gamestate_restore. It was caused by the code only
deleting the Graphics::Surface object but not its data.
I changed the code to use skipThumbnailHeader now, since the code actually
ignores the thumbnail anyway.
svn-id: r51667
Diffstat (limited to 'engines/m4/animation.cpp')
0 files changed, 0 insertions, 0 deletions