Coverity fix (Ivana)
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Feb 2011 09:30:51 +0000 (09:30 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Feb 2011 09:30:51 +0000 (09:30 +0000)
PWG3/vertexingHF/AliCFTaskVertexingHF.cxx

index 2fc7d51..c2e5e48 100644 (file)
@@ -437,6 +437,8 @@ void AliCFTaskVertexingHF::UserExec(Option_t *)
        }
        if (!cfVtxHF){
                AliError("No AliCFVertexingHF initialized");
+               delete[] containerInput;
+               delete[] containerInputMC;
                return;
        }
        
@@ -698,9 +700,7 @@ void AliCFTaskVertexingHF::UserExec(Option_t *)
        fHistEventsProcessed->Fill(0);
 
        delete[] containerInput;
-       containerInput = 0x0;
        delete[] containerInputMC;
-       containerInputMC = 0x0;
        delete cfVtxHF;
 
 }