[Genabel-commits] r1845 - pkg/OmicABELnoMM/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Oct 24 12:16:57 CEST 2014


Author: lckarssen
Date: 2014-10-24 12:16:57 +0200 (Fri, 24 Oct 2014)
New Revision: 1845

Modified:
   pkg/OmicABELnoMM/src/AIOwrapper.cpp
Log:
OmicABELnoMM: fixed mismatching deallocation: delete -> delete []. Thanks to Jenkins' cppcheck for finding this!



Modified: pkg/OmicABELnoMM/src/AIOwrapper.cpp
===================================================================
--- pkg/OmicABELnoMM/src/AIOwrapper.cpp	2014-10-24 09:45:59 UTC (rev 1844)
+++ pkg/OmicABELnoMM/src/AIOwrapper.cpp	2014-10-24 10:16:57 UTC (rev 1845)
@@ -1905,7 +1905,7 @@
     if(Almissings > 0 && (params.mpi_id == 0))
         cout << "Excluding " << Almissings << " from covariate missings" << endl;
 
-    delete tempAL;
+    delete []tempAL;
 
 
 }



More information about the Genabel-commits mailing list