]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPreClusterFinderV3.cxx
Fix for coverity
[u/mrichter/AliRoot.git] / MUON / AliMUONPreClusterFinderV3.cxx
index 6f438b6ff64cef527934b278c9dbed1acc549366..f3a19e4744d26aca274312c4b992da1fd8796830 100644 (file)
@@ -232,7 +232,8 @@ AliMUONPreClusterFinderV3::AddPad(AliMUONCluster& cluster, AliMUONPad* pad)
   
   Int_t cathode = pad->Cathode();
   TObjArray& padArray = *fPads[cathode];
-  padArray.Remove(pad);
+  delete padArray.Remove(pad);
+  
   TIter next(&padArray);
   AliMUONPad* testPad;