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:
kjellander@webrtc.org 2011-11-25 09:33:41 +00:00
parent 0a18522e1b
commit 5483210c82

View File

@ -55,6 +55,7 @@ std::string ProjectRootPath() {
kProjectRootFileName;
file = fopen(root_filename.c_str(), "r");
if (file != NULL) {
fclose(file);
return current_path + kPathDelimiter;
}