Fixed two other memory leaks I missed.
This commit is contained in:
parent
1cc74aa6c0
commit
38caedadfa
2 changed files with 4 additions and 0 deletions
|
@ -67,7 +67,10 @@ bool CheckCPUFeature(const char *feature)
|
|||
while (token != NULL)
|
||||
{
|
||||
if (strstr(token, feature))
|
||||
{
|
||||
fclose(fp);
|
||||
return true;
|
||||
}
|
||||
token = strtok(NULL, " ");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue