fix
authordlohner <dlohner@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Mar 2013 15:49:47 +0000 (15:49 +0000)
committerdlohner <dlohner@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Mar 2013 15:49:47 +0000 (15:49 +0000)
PWGGA/GammaConv/AliAnalysisTaskPi0v2.cxx

index 05417ff..3991f96 100644 (file)
@@ -140,7 +140,7 @@ AliAnalysisTaskPi0v2::~AliAnalysisTaskPi0v2(){
     }
 
     if(fConversionSelection){
-       for(Int_t ii=0;ii<fNCuts;ii++)delete fConversionSelection;
+       for(Int_t ii=0;ii<fNCuts;ii++)delete fConversionSelection[ii];
        delete[] fConversionSelection;
        fConversionSelection=NULL;
     }