summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog/CMakeSetupDialog.cpp
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-09-14 20:26:56 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-09-14 20:26:56 (GMT)
commite197d3f219e80be8b3c6679dc7fd8a74d1772b52 (patch)
treec9b2b43551246a7d190bc90318cf8399765f474f /Source/MFCDialog/CMakeSetupDialog.cpp
parentdd533552bb2c53edc8cd6a5834ba1f46088408f2 (diff)
downloadCMake-e197d3f219e80be8b3c6679dc7fd8a74d1772b52.zip
CMake-e197d3f219e80be8b3c6679dc7fd8a74d1772b52.tar.gz
CMake-e197d3f219e80be8b3c6679dc7fd8a74d1772b52.tar.bz2
remove memory leaks
Diffstat (limited to 'Source/MFCDialog/CMakeSetupDialog.cpp')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp
index ebb2c02..10c5be6 100644
--- a/Source/MFCDialog/CMakeSetupDialog.cpp
+++ b/Source/MFCDialog/CMakeSetupDialog.cpp
@@ -773,6 +773,7 @@ void CMakeSetupDialog::OnOk()
{
m_CacheEntriesList.ClearDirty();
this->RunCMake(true);
+ cmMakefileGenerator::UnRegisterGenerators();
CDialog::OnOK();
}