DIRECTOR: Fix memory leak in _castsInfo
This commit is contained in:
parent
e7375f7495
commit
b09b54fa1b
1 changed files with 3 additions and 0 deletions
|
@ -97,6 +97,9 @@ Cast::~Cast() {
|
|||
for (Common::HashMap<int, CastMember *>::iterator it = _loadedCast->begin(); it != _loadedCast->end(); ++it)
|
||||
delete it->_value;
|
||||
|
||||
for (Common::HashMap<uint16, CastMemberInfo *>::iterator it = _castsInfo.begin(); it != _castsInfo.end(); ++it)
|
||||
delete it->_value;
|
||||
|
||||
delete _loadedStxts;
|
||||
delete _loadedCast;
|
||||
delete _lingoArchive;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue