diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-09-14 20:26:56 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-09-14 20:26:56 (GMT) |
commit | e197d3f219e80be8b3c6679dc7fd8a74d1772b52 (patch) | |
tree | c9b2b43551246a7d190bc90318cf8399765f474f /Source/cmakemain.cxx | |
parent | dd533552bb2c53edc8cd6a5834ba1f46088408f2 (diff) | |
download | CMake-e197d3f219e80be8b3c6679dc7fd8a74d1772b52.zip CMake-e197d3f219e80be8b3c6679dc7fd8a74d1772b52.tar.gz CMake-e197d3f219e80be8b3c6679dc7fd8a74d1772b52.tar.bz2 |
remove memory leaks
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r-- | Source/cmakemain.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index bcc250f..3df3d64 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -1,4 +1,5 @@ #include "cmake.h" +#include "cmMakefileGenerator.h" int main(int ac, char** av) { @@ -8,5 +9,7 @@ int main(int ac, char** av) { args.push_back(av[i]); } - return cm.Generate(args); + int ret = cm.Generate(args); + cmMakefileGenerator::UnRegisterGenerators(); + return ret; } |