From 960e17a935aebfc9b55def555ee279f5d1351605 Mon Sep 17 00:00:00 2001 From: mariana Date: Sat, 10 Feb 2001 22:29:53 +0000 Subject: [PATCH 1/1] Correct memory leak in Find1DClusters --- ITS/AliITSClusterFinderSPD.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/ITS/AliITSClusterFinderSPD.cxx b/ITS/AliITSClusterFinderSPD.cxx index 8d620e37d2b..d1b1a67896c 100644 --- a/ITS/AliITSClusterFinderSPD.cxx +++ b/ITS/AliITSClusterFinderSPD.cxx @@ -213,6 +213,7 @@ void AliITSClusterFinderSPD::Find1DClusters() AliITSRawClusterSPD *clust = new AliITSRawClusterSPD(clusterZ,clusterX,clusterCharge,clusterSizeZ,clusterSizeX,xstart,xstop,xstartfull,xstopfull,zstart,zstop,k); // fClusters->Add(point); iTS->AddCluster(0,clust); + delete clust; // cout << "Cluster at Ladder: " << fLadder << ", Detector: " <