mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +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))
|
||||
{
|
||||
FreeMemory(ic);
|
||||
FreeMemory(source);
|
||||
FreeSource(source);
|
||||
return NULL;
|
||||
} //end if
|
||||
StripDoubleQuotes(token.string);
|
||||
|
|
Loading…
Reference in a new issue