[Genabel-commits] r984 - branches/ProbABEL-refactoring/ProbABEL/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Oct 24 00:33:36 CEST 2012


Author: maartenk
Date: 2012-10-24 00:33:35 +0200 (Wed, 24 Oct 2012)
New Revision: 984

Modified:
   branches/ProbABEL-refactoring/ProbABEL/src/maskedmatrix.cpp
Log:
fixed memory leak

Modified: branches/ProbABEL-refactoring/ProbABEL/src/maskedmatrix.cpp
===================================================================
--- branches/ProbABEL-refactoring/ProbABEL/src/maskedmatrix.cpp	2012-10-23 17:39:55 UTC (rev 983)
+++ branches/ProbABEL-refactoring/ProbABEL/src/maskedmatrix.cpp	2012-10-23 22:33:35 UTC (rev 984)
@@ -56,6 +56,7 @@
 masked_matrix::~masked_matrix()
 {
     // TODO Auto-generated destructor stub
+    delete[]  mask_of_old;
 }
 void masked_matrix::update_mask(short unsigned int *newmask)
 {



More information about the Genabel-commits mailing list