Fix memory leak
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 21 Nov 2008 12:23:02 +0000 (12:23 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 21 Nov 2008 12:23:02 +0000 (12:23 +0000)
TRD/AliTRDmcmSim.cxx

index 39b1eb25570fab7d3cb7d691baae710fba0ba03e..27b203fe364dbb76f1806903f773b806df53be88 100644 (file)
@@ -837,8 +837,9 @@ void AliTRDmcmSim::FilterTail()
     break;
   }
 
-  delete dtarg;
-  delete itarg;
+  delete [] dtarg;
+  delete [] itarg;
+
 }
 
 //_____________________________________________________________________________