Fixed two other memory leaks I missed.

This commit is contained in:
Lioncash 2013-01-25 15:07:36 -05:00
parent 1cc74aa6c0
commit 38caedadfa
2 changed files with 4 additions and 0 deletions

View file

@ -67,7 +67,10 @@ bool CheckCPUFeature(const char *feature)
while (token != NULL)
{
if (strstr(token, feature))
{
fclose(fp);
return true;
}
token = strtok(NULL, " ");
}
}