Sfoglia il codice sorgente

COMP: Only delete once

Andy Cedilnik 19 anni fa
parent
commit
1087f80c28
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. 0 4
      Source/kwsys/testCommandLineArguments1.cxx

+ 0 - 4
Source/kwsys/testCommandLineArguments1.cxx

@@ -101,10 +101,6 @@ int main(int argc, char* argv[])
     }
   arg.DeleteRemainingArguments(newArgc, &newArgv);
 
-  if ( m )
-    {
-    delete [] m;
-    }
   return res;
 }