diff options
author | Brad King <brad.king@kitware.com> | 2013-04-17 15:35:26 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-04-17 15:35:26 (GMT) |
commit | 8a2763b3ac92a427ab7cb18080a0884391d1cf57 (patch) | |
tree | ded98af559f9966dcd7deaf17328d4f2222ab7f4 /Source | |
parent | 5b5a365aa676d93d7b574735e80e9625d57c8e52 (diff) | |
parent | ce441fac071698e969a4ec5f067fb9b0f6e60b73 (diff) | |
download | CMake-8a2763b3ac92a427ab7cb18080a0884391d1cf57.zip CMake-8a2763b3ac92a427ab7cb18080a0884391d1cf57.tar.gz CMake-8a2763b3ac92a427ab7cb18080a0884391d1cf57.tar.bz2 |
Merge topic 'missing-fclose-in-trycompile'
ce441fa try_compile: add missing fclose() to recently added error case
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmCoreTryCompile.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmCoreTryCompile.cxx b/Source/cmCoreTryCompile.cxx index 387f6ed..9f38b25 100644 --- a/Source/cmCoreTryCompile.cxx +++ b/Source/cmCoreTryCompile.cxx @@ -326,6 +326,7 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv) { this->Makefile->IssueMessage(cmake::FATAL_ERROR, "could not write export file."); + fclose(fout); return -1; } fprintf(fout, |