HDB: Remove redundant frees

ManagedSurface takes care of freeing itself
This commit is contained in:
Eugene Sandulenko 2019-07-18 18:01:13 +02:00
parent bba1fa849b
commit cea2285db1

View File

@ -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) {