mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
SWORD25: Another memory leak fix
svn-id: r53327
This commit is contained in:
parent
5d7922d052
commit
49decb9dc5
@ -59,6 +59,11 @@ ScummVMPackageManager::ScummVMPackageManager(Kernel *kernelPtr) :
|
||||
}
|
||||
|
||||
ScummVMPackageManager::~ScummVMPackageManager() {
|
||||
// Free the package list
|
||||
Common::List<ArchiveEntry *>::iterator i;
|
||||
for (i = _archiveList.begin(); i != _archiveList.end(); ++i)
|
||||
delete *i;
|
||||
|
||||
}
|
||||
|
||||
Service *ScummVMPackageManager_CreateObject(Kernel *kernelPtr) {
|
||||
|
Loading…
Reference in New Issue
Block a user