Fix memory leak
[u/mrichter/AliRoot.git] / TRD / AliTRDmcmSim.cxx
index 39b1eb25570fab7d3cb7d691baae710fba0ba03e..27b203fe364dbb76f1806903f773b806df53be88 100644 (file)
@@ -837,8 +837,9 @@ void AliTRDmcmSim::FilterTail()
     break;
   }
 
-  delete dtarg;
-  delete itarg;
+  delete [] dtarg;
+  delete [] itarg;
+
 }
 
 //_____________________________________________________________________________