fixing wrong free calls

This commit is contained in:
David Carlier 2017-09-16 21:24:31 +01:00 committed by alexey.lysiuk
commit 9f742f8aaa
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}
}