]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCCalibViewer.cxx
Changes for bug #70680: AliROOT Coverity DELETE_ARRAY checker fix
[u/mrichter/AliRoot.git] / TPC / AliTPCCalibViewer.cxx
index 13e5dfd4a6a92ae420e0944163eeec461d371f14..c092ab6e3b4d7220288b69e4a4e07cc96c48af9e 100644 (file)
@@ -305,8 +305,8 @@ const char* AliTPCCalibViewer::AddAbbreviations(const Char_t *c, Bool_t printDra
    str.ReplaceAll(removeString, "");
   
    if (printDrawCommand) std::cout << "The string looks now like: " << str.Data() << std::endl;
-   delete varSort;
-   delete normSort;
+   delete [] varSort;
+   delete [] normSort;
    return str.Data();
 }