Fix for Coverity defect 14109: RESOURCE_LEAK
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 31 Jan 2011 11:26:40 +0000 (11:26 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 31 Jan 2011 11:26:40 +0000 (11:26 +0000)
STEER/AliBaseCalibViewer.cxx

index 775c7e5..39f0726 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;