mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 02:17:05 +00:00
PARALLACTION: Close Memory Leak in Big Red Adventure When Changing Location.
svn-id: r55225
This commit is contained in:
parent
095384b90f
commit
ecdd866117
@ -301,6 +301,7 @@ void Parallaction_br::changeLocation() {
|
|||||||
_countersNames = _disk->loadTable("counters");
|
_countersNames = _disk->loadTable("counters");
|
||||||
|
|
||||||
// TODO: maybe handle this into Disk
|
// TODO: maybe handle this into Disk
|
||||||
|
delete _objects;
|
||||||
if (getPlatform() == Common::kPlatformPC) {
|
if (getPlatform() == Common::kPlatformPC) {
|
||||||
_objects = _disk->loadObjects("icone.ico");
|
_objects = _disk->loadObjects("icone.ico");
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user