mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
Fixing crash when loaded module, using proper function liberate them.
This commit is contained in:
parent
733dea55da
commit
57a0a4c066
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ FAnimDef *FTextureManager::AddAnim (FAnimDef *anim)
|
|||
if (mAnimations[i]->BasePic == anim->BasePic)
|
||||
{
|
||||
// Found one!
|
||||
free (mAnimations[i]);
|
||||
M_Free (mAnimations[i]);
|
||||
mAnimations[i] = anim;
|
||||
return anim;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue