fixing wrong free calls
This commit is contained in:
parent
e081a0d810
commit
9f742f8aaa
2 changed files with 2 additions and 2 deletions
|
|
@ -154,7 +154,7 @@ void FStateLabels::Destroy ()
|
|||
if (Labels[i].Children != NULL)
|
||||
{
|
||||
Labels[i].Children->Destroy();
|
||||
free(Labels[i].Children); // These are malloc'd, not new'd!
|
||||
M_Free(Labels[i].Children); // These are malloc'd, not new'd!
|
||||
Labels[i].Children = NULL;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue