]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
- Coverity fixes
authorbhess <bhess@cern.ch>
Fri, 9 Jan 2015 07:23:35 +0000 (08:23 +0100)
committerbhess <bhess@cern.ch>
Fri, 9 Jan 2015 07:24:55 +0000 (08:24 +0100)
PWGJE/UserTasks/AliAnalysisTaskPIDV0base.cxx

index 81c4bb3a18538785dc9440e9585281fbe3d16229..643f9903a965e8adf587f2f1ca25a681f81ee5c3 100644 (file)
@@ -136,11 +136,11 @@ AliAnalysisTaskPIDV0base::~AliAnalysisTaskPIDV0base()
   delete fV0KineCuts;
   fV0KineCuts = 0;
   
-  delete fV0tags;
+  delete [] fV0tags;
   fV0tags = 0;
   fNumTagsStored = 0;
   
-  delete fV0motherIndex;
+  delete [] fV0motherIndex;
   fV0motherIndex = 0;
   
   delete fAnaUtils;
@@ -469,10 +469,10 @@ void AliAnalysisTaskPIDV0base::ClearV0PIDlist()
   // Clear the PID tag list
   //
 
-  delete fV0tags;
+  delete [] fV0tags;
   fV0tags = 0;
   
-  delete fV0motherIndex;
+  delete [] fV0motherIndex;
   fV0motherIndex = 0;
   
   fNumTagsStored = 0;