mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
Fix freeing source while parsing botfiles/items.c
This commit is contained in:
parent
3041eee0cf
commit
372b07a97a
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ itemconfig_t *LoadItemConfig(char *filename)
|
||||||
if (!PC_ExpectTokenType(source, TT_STRING, 0, &token))
|
if (!PC_ExpectTokenType(source, TT_STRING, 0, &token))
|
||||||
{
|
{
|
||||||
FreeMemory(ic);
|
FreeMemory(ic);
|
||||||
FreeMemory(source);
|
FreeSource(source);
|
||||||
return NULL;
|
return NULL;
|
||||||
} //end if
|
} //end if
|
||||||
StripDoubleQuotes(token.string);
|
StripDoubleQuotes(token.string);
|
||||||
|
|
Loading…
Reference in a new issue