Fixed potential memory leak when loading test case files.

This commit is contained in:
grahamboree 2014-12-24 15:29:47 -05:00
parent 35ac315b70
commit 42afde6273

View File

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