Coverity fix
authorkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 Feb 2012 17:25:37 +0000 (17:25 +0000)
committerkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 Feb 2012 17:25:37 +0000 (17:25 +0000)
PHOS/AliPHOSDATreeCluster.cxx

index 94fe94d..51040cd 100644 (file)
@@ -165,6 +165,7 @@ bool AliPHOSDATreeCluster::Append(AliPHOSDATreeCluster& cluster){
       newfDigits[ndigitsall]= cluster.fDigits[--ndigits2];
     } else {
       std::cout<<" AliPHOSDATreeCluster::Append() Something wrong.. "<<std::endl;
+      delete newfDigits;
       return false;
     }
   }