]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALClusterizer.cxx
updates/fixes from Rachid
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALClusterizer.cxx
index 683207a6639f2ce7e0d3280a432452212e4530bc..dd9b375f4169648eb36c3c5d0cc2ea394bf0ba5e 100644 (file)
@@ -176,6 +176,7 @@ void AliEMCALClusterizer::DeleteRecPoints()
       AliDebug(2, "Deleting fRecPoints.");
       fRecPoints->Delete();
       delete fRecPoints;
+      fRecPoints = 0;
     }
 }
 
@@ -188,6 +189,7 @@ void AliEMCALClusterizer::DeleteDigits()
       AliDebug(2, "Deleting fDigitsArr.");
       fDigitsArr->Clear("C");
       delete fDigitsArr;
+      fDigitsArr = 0;
     }
 }