diff options
author | Willem Jan Palenstijn | 2015-05-07 23:35:36 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-05-07 23:35:36 +0200 |
commit | 57109ef0a8d30f15aa1fcef7d9d229fc9701f630 (patch) | |
tree | 230c0a7822875e9c41a4606fce54166d4dc37db0 /engines/mads/user_interface.cpp | |
parent | d9e93f8e015ce27a95090e854494c4b3f7d1c0d4 (diff) | |
parent | 04931d040085d77d031290fda57ca2c5dc486f54 (diff) | |
download | scummvm-rg350-57109ef0a8d30f15aa1fcef7d9d229fc9701f630.tar.gz scummvm-rg350-57109ef0a8d30f15aa1fcef7d9d229fc9701f630.tar.bz2 scummvm-rg350-57109ef0a8d30f15aa1fcef7d9d229fc9701f630.zip |
Merge branch 'master' into sherlock
Diffstat (limited to 'engines/mads/user_interface.cpp')
-rw-r--r-- | engines/mads/user_interface.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/mads/user_interface.cpp b/engines/mads/user_interface.cpp index 93a555d9c7..1e5a1d80d2 100644 --- a/engines/mads/user_interface.cpp +++ b/engines/mads/user_interface.cpp @@ -164,6 +164,7 @@ void UISlots::draw(bool updateFlag, bool delFlag) { MSurface *spr = sprite->flipHorizontal(); userInterface.mergeFrom(spr, spr->getBounds(), slot._position, sprite->getTransparencyIndex()); + spr->free(); delete spr; } else { userInterface.mergeFrom(sprite, sprite->getBounds(), slot._position, |