Fixed open file handle in fileutils.cc
Thanks Henrik L for pointing this out. Review URL: http://webrtc-codereview.appspot.com/297001 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1019 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
0a18522e1b
commit
5483210c82
@ -55,6 +55,7 @@ std::string ProjectRootPath() {
|
|||||||
kProjectRootFileName;
|
kProjectRootFileName;
|
||||||
file = fopen(root_filename.c_str(), "r");
|
file = fopen(root_filename.c_str(), "r");
|
||||||
if (file != NULL) {
|
if (file != NULL) {
|
||||||
|
fclose(file);
|
||||||
return current_path + kPathDelimiter;
|
return current_path + kPathDelimiter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user