clean up leaks

This commit is contained in:
Bill Hoffman
2002-12-09 10:07:35 -05:00
parent b472d792be
commit fdd4cf7cf4
3 changed files with 14 additions and 8 deletions

View File

@@ -5,9 +5,6 @@
#include "CMakeSetup.h"
#include "CMakeSetupDialog.h"
#include "CMakeCommandLineInfo.h"
#include "../cmListFileCache.h"
#include "../cmCacheManager.h"
#include "../cmDynamicLoader.h"
#ifdef _DEBUG
#define new DEBUG_NEW
@@ -76,9 +73,6 @@ BOOL CMakeSetup::InitInstance()
// dismissed with Cancel
}
// clean up globals
cmListFileCache::GetInstance()->ClearCache();
cmDynamicLoader::FlushCache();
// Since the dialog has been closed, return FALSE so that we exit the
// application, rather than start the application's message pump.
return FALSE;