Fix freeing source while parsing botfiles/items.c

This commit is contained in:
Zack Middleton 2013-02-16 04:40:27 -06:00
parent 3041eee0cf
commit 372b07a97a
1 changed files with 1 additions and 1 deletions

View File

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