mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-02 15:38:59 +00:00
More correct Anim destructor
svn-id: r14410
This commit is contained in:
parent
d4c84fefde
commit
e20d53a869
@ -58,7 +58,8 @@ Anim::~Anim(void) {
|
||||
uint16 i;
|
||||
|
||||
for (i = 0; i < R_MAX_ANIMATIONS; i++) {
|
||||
free(_anim_tbl[i]);
|
||||
if (_anim_tbl[i])
|
||||
free(_anim_tbl[i]);
|
||||
}
|
||||
|
||||
_initialized = false;
|
||||
|
Loading…
Reference in New Issue
Block a user