diff options
author | Eugene Sandulenko | 2019-07-18 18:01:13 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:23 +0200 |
commit | cea2285db1bd87864639271ec8555d50d0908f3b (patch) | |
tree | 04738d0de1f40b698e87ee775630daa96cf15e5e /engines/hdb | |
parent | bba1fa849bf88164f905ad5a017a9be51683610e (diff) | |
download | scummvm-rg350-cea2285db1bd87864639271ec8555d50d0908f3b.tar.gz scummvm-rg350-cea2285db1bd87864639271ec8555d50d0908f3b.tar.bz2 scummvm-rg350-cea2285db1bd87864639271ec8555d50d0908f3b.zip |
HDB: Remove redundant frees
ManagedSurface takes care of freeing itself
Diffstat (limited to 'engines/hdb')
-rw-r--r-- | engines/hdb/gfx.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp index e60a7ba2ab..05adecb1a6 100644 --- a/engines/hdb/gfx.cpp +++ b/engines/hdb/gfx.cpp @@ -1057,7 +1057,6 @@ Picture::Picture() : _width(0), _height(0), _name("") { } Picture::~Picture() { - _surface.free(); } Graphics::Surface Picture::load(Common::SeekableReadStream *stream) { @@ -1115,7 +1114,6 @@ Tile::Tile() : _flags(0), _name("") { } Tile::~Tile() { - _surface.free(); } Graphics::Surface Tile::load(Common::SeekableReadStream *stream) { |