CpuLinux file handle leak.
BUG=crbug.com/110165 Review URL: http://webrtc-codereview.appspot.com/353001 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1429 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
f75901fa4c
commit
67cdc22e7e
@ -179,6 +179,7 @@ int CpuLinux::GetNumCores()
|
||||
char line[100];
|
||||
if (!fgets(line, 100, fp))
|
||||
{
|
||||
fclose(fp);
|
||||
return -1;
|
||||
}
|
||||
int numCores = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user