]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliBaseCalibViewer.cxx
Fix for Coverity defect 14109: RESOURCE_LEAK
[u/mrichter/AliRoot.git] / STEER / AliBaseCalibViewer.cxx
index 775c7e528208cbd6ef120a699a496f1a7151dd2b..39f072664944a8e9cf8af2bed3d50227ff683946 100644 (file)
@@ -778,6 +778,9 @@ Int_t AliBaseCalibViewer::Integrate(const Char_t* drawCommand, const Char_t* sec
          DrawLines(integralGraphLTM, nsigma, legend, kGreen+2, kTRUE);
       }
    }
+   delete [] index;
+   delete [] xarray;
+   delete [] yarray;
    if (!plotMean && !plotMedian && !plotLTM) return -1;
    legend->Draw();
    return entries;