Fixed a potential memory leak when reading a mesh file.

This commit is contained in:
grahamboree 2014-12-24 15:34:01 -05:00
parent 91fbf05ec3
commit ce4c63787b

View File

@ -155,6 +155,7 @@ bool rcMeshLoaderObj::load(const char* filename)
if (readLen != 1)
{
delete[] buf;
return false;
}