mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-19 10:41:55 +00:00
HDB: Remove redundant frees
ManagedSurface takes care of freeing itself
This commit is contained in:
parent
bba1fa849b
commit
cea2285db1
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user