diff options
author | Colin Snover | 2017-11-14 12:52:22 -0600 |
---|---|---|
committer | Eugene Sandulenko | 2017-11-18 22:35:12 +0100 |
commit | 5c89c39325f271a5ef4dcb55fbc013b3858791d5 (patch) | |
tree | 9b8257d1bf8b6475c4ca38e868743b3a83d91741 /engines/savestate.h | |
parent | ff96db23dfd9e2075a710786fa0b1a01c6759a02 (diff) | |
download | scummvm-rg350-5c89c39325f271a5ef4dcb55fbc013b3858791d5.tar.gz scummvm-rg350-5c89c39325f271a5ef4dcb55fbc013b3858791d5.tar.bz2 scummvm-rg350-5c89c39325f271a5ef4dcb55fbc013b3858791d5.zip |
FULLPIPE: Fix memory leak of save game thumbnail
Diffstat (limited to 'engines/savestate.h')
-rw-r--r-- | engines/savestate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/savestate.h b/engines/savestate.h index 3244d61fdb..567750c4be 100644 --- a/engines/savestate.h +++ b/engines/savestate.h @@ -121,6 +121,7 @@ public: * Hence the caller must not delete the surface. */ void setThumbnail(Graphics::Surface *t); + void setThumbnail(Common::SharedPtr<Graphics::Surface> t) { _thumbnail = t; } /** * Sets the date the save state was created. |