Fixed potential memory leak deserializing an InputGeom.

This commit is contained in:
grahamboree 2014-12-24 15:35:36 -05:00
parent ce4c63787b
commit 0482a3104c

View File

@ -178,6 +178,7 @@ bool InputGeom::load(rcContext* ctx, const char* filePath)
fclose(fp);
if (readLen != 1)
{
delete[] buf;
return false;
}