]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixing a memory leak. The cluster array *must* be deleted and not only cleared, other...
authorlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 7 Sep 2010 14:20:15 +0000 (14:20 +0000)
committerlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 7 Sep 2010 14:20:15 +0000 (14:20 +0000)
MUON/AliMUONPreClusterFinder.cxx

index 4f7d69eb6486a844e3919e15162289954b3e98c2..35422cf5bca8a34f1fc0274f88959b5d78a492ac 100644 (file)
@@ -89,7 +89,7 @@ AliMUONPreClusterFinder::Prepare(Int_t detElemId,
 {
   /// Prepare for clustering, by giving access to segmentations and digit lists
 
-  fClusters.Clear("C");
+  fClusters.Delete();
   
   fPads = pads;
   fDetElemId = detElemId;