[MOAB-dev] r1689 - MOAB/trunk
kraftche at mcs.anl.gov
kraftche at mcs.anl.gov
Tue Mar 25 11:38:38 CDT 2008
Author: kraftche
Date: 2008-03-25 11:38:38 -0500 (Tue, 25 Mar 2008)
New Revision: 1689
Modified:
MOAB/trunk/TagInfo.cpp
Log:
fix memory corruption due to double-free
Modified: MOAB/trunk/TagInfo.cpp
===================================================================
--- MOAB/trunk/TagInfo.cpp 2008-03-25 15:01:42 UTC (rev 1688)
+++ MOAB/trunk/TagInfo.cpp 2008-03-25 16:38:38 UTC (rev 1689)
@@ -90,6 +90,7 @@
void TagInfo::remove_mesh_value()
{
free( mMeshValue );
+ mMeshValue = 0;
mMeshValueSize = 0;
}
More information about the moab-dev
mailing list