From a9028dfd0767916baf2b267ac4e5cae5b70ca923 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Sun, 3 Oct 2004 07:14:05 -0400 Subject: BUG: Attempt to remove memory leak --- Source/ctest.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 3af2ba7..3be9293 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -178,6 +178,9 @@ int main (int argc, char *argv[]) args.push_back(argv[i]); } // run ctest - return inst.Run(args); + int res = inst.Run(args); + cmListFileCache::ClearCache(); + + return res; } -- cgit v0.12