diff options
author | Berk Geveci <berk.geveci@kitware.com> | 2001-11-20 22:27:04 (GMT) |
---|---|---|
committer | Berk Geveci <berk.geveci@kitware.com> | 2001-11-20 22:27:04 (GMT) |
commit | a43f3c99c7e116e44fd103598cb0a6ee2a4eb1a1 (patch) | |
tree | 4f1c2df984a34e8e7596ccad8140461a8fb79e05 | |
parent | 46568242fa3c5e62ce7fecc2d66ff4f9795cefc7 (diff) | |
download | CMake-a43f3c99c7e116e44fd103598cb0a6ee2a4eb1a1.zip CMake-a43f3c99c7e116e44fd103598cb0a6ee2a4eb1a1.tar.gz CMake-a43f3c99c7e116e44fd103598cb0a6ee2a4eb1a1.tar.bz2 |
BUG: fix memory leak
-rw-r--r-- | Source/cmaketest.cxx | 2 |
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; |