ACCESS: Plug memory leak
This commit is contained in:
parent
33184e822d
commit
20433e3476
1 changed files with 2 additions and 1 deletions
|
@ -131,6 +131,7 @@ void CharManager::loadChar(int charId) {
|
|||
if (ce._animFile._fileNum != -1) {
|
||||
Resource *data = _vm->_files->loadFile(ce._animFile);
|
||||
_vm->_animation->loadAnimations(data);
|
||||
delete data;
|
||||
}
|
||||
|
||||
// Load script data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue