Corrected memory leaks
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterizer.cxx
index a34efa0ca4aa7606c3bc32707eae0c51dd816ec9..2eeb0504118edb94fba327645d7666e58331e678 100644 (file)
@@ -230,6 +230,8 @@ Bool_t AliTRDclusterizer::WriteClusters(Int_t det)
     branch->SetAddress(&detRecPoints);
     fClusterTree->Fill();
 
+    delete detRecPoints;
+
     return kTRUE;
 
   }