mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 09:49:14 +00:00
ULTIMA4: Further leak fixes
This commit is contained in:
parent
1c4a964be5
commit
2ced43fc9e
@ -562,6 +562,8 @@ Party::Party(SaveGame *s) : _saveGame(s), _transport(0), _torchDuration(0), _act
|
||||
}
|
||||
|
||||
Party::~Party() {
|
||||
for (uint idx = 0; idx < _members.size(); ++idx)
|
||||
delete _members[idx];
|
||||
}
|
||||
|
||||
void Party::notifyOfChange(PartyMember *pm, PartyEvent::Type eventType) {
|
||||
|
@ -60,6 +60,10 @@ Tile::Tile(Tileset *tileset)
|
||||
, _animationRule("") {
|
||||
}
|
||||
|
||||
Tile::~Tile() {
|
||||
deleteImage();
|
||||
}
|
||||
|
||||
void Tile::loadProperties(const ConfigElement &conf) {
|
||||
if (conf.getName() != "tile")
|
||||
return;
|
||||
|
@ -66,6 +66,7 @@ class TileAnim;
|
||||
class Tile : private Uncopyable {
|
||||
public:
|
||||
Tile(Tileset *tileset);
|
||||
~Tile();
|
||||
|
||||
/**
|
||||
* Loads tile information.
|
||||
|
Loading…
x
Reference in New Issue
Block a user