diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-10-03 13:22:30 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-10-03 13:22:30 -0400 |
commit | 4d0c0e6d64d7541bb84881207454ef9181e25088 (patch) | |
tree | 9430bddfa372fb1ae44a2528b59ae54d83467633 | |
parent | 81996dc4de3dbd8d4bf71b41872accb3899d5355 (diff) | |
download | cmake-4d0c0e6d64d7541bb84881207454ef9181e25088.tar.gz |
ENH: make sure file is closed
-rw-r--r-- | Source/cmTryCompileCommand.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx index f3fe8937ab..d299162814 100644 --- a/Source/cmTryCompileCommand.cxx +++ b/Source/cmTryCompileCommand.cxx @@ -178,6 +178,7 @@ int cmTryCompileCommand::CoreTryCompileCode( } err << "\nSee PROJECT command for help enabling other languages."; cmSystemTools::Error(err.str().c_str()); + fclose(fout); return -1; } std::string langFlags = "CMAKE_"; |