Browse Source

BUG: fix memory leak

Berk Geveci 24 years ago
parent
commit
a43f3c99c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmaketest.cxx

+ 1 - 1
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;