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

View file

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