mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-27 05:40:46 +00:00
fix a memory leak
This commit is contained in:
parent
44214d4d23
commit
2d37705921
1 changed files with 4 additions and 0 deletions
|
@ -63,6 +63,10 @@ struct FActorInfo
|
||||||
DefaultMove = other.DefaultMove;
|
DefaultMove = other.DefaultMove;
|
||||||
DefaultMoveflags = other.DefaultMoveflags;
|
DefaultMoveflags = other.DefaultMoveflags;
|
||||||
}
|
}
|
||||||
|
~FActorInfo()
|
||||||
|
{
|
||||||
|
M_Free(StateList);
|
||||||
|
}
|
||||||
|
|
||||||
void ResolveTextures(const char* clsname, DCoreActor *defaults);
|
void ResolveTextures(const char* clsname, DCoreActor *defaults);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue