summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerk Geveci <berk.geveci@kitware.com>2001-11-20 22:27:04 (GMT)
committerBerk Geveci <berk.geveci@kitware.com>2001-11-20 22:27:04 (GMT)
commita43f3c99c7e116e44fd103598cb0a6ee2a4eb1a1 (patch)
tree4f1c2df984a34e8e7596ccad8140461a8fb79e05
parent46568242fa3c5e62ce7fecc2d66ff4f9795cefc7 (diff)
downloadCMake-a43f3c99c7e116e44fd103598cb0a6ee2a4eb1a1.zip
CMake-a43f3c99c7e116e44fd103598cb0a6ee2a4eb1a1.tar.gz
CMake-a43f3c99c7e116e44fd103598cb0a6ee2a4eb1a1.tar.bz2
BUG: fix memory leak
-rw-r--r--Source/cmaketest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmaketest.cxx b/Source/cmaketest.cxx
index c05c43d..8c5fa8d 100644
--- a/Source/cmaketest.cxx
+++ b/Source/cmaketest.cxx
@@ -84,9 +84,9 @@ int main (int argc, char *argv[])
makeCommand.size()+1) != 0)
{
makeCommand = buffer;
- delete [] buffer;
}
#endif
+ delete [] buffer;\
}
makeCommand += " ";
makeCommand += executableName;