Coverity fixes for DELETE_ARRAY
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 5 Mar 2011 07:08:44 +0000 (07:08 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 5 Mar 2011 07:08:44 +0000 (07:08 +0000)
TTherminator/Therminator/Parser.cxx

index 72de7e3..33756a3 100644 (file)
@@ -343,10 +343,10 @@ void Parser::ReadInput()
          else
            tRatio *= atof(tBRatio);
 
-         delete tFather;
-         delete tDaughter1;
-         delete tDaughter2;
-         delete tBRatio;
+         delete [] tFather;
+         delete [] tDaughter1;
+         delete [] tDaughter2;
+         delete [] tBRatio;
        }
 
       //THREE-BODY DECAYS