[cig-commits] r20744 - short/3D/PyLith/branches/v1.7-stable/libsrc/pylith/bc
brad at geodynamics.org
brad at geodynamics.org
Wed Sep 19 15:45:45 PDT 2012
Author: brad
Date: 2012-09-19 15:45:44 -0700 (Wed, 19 Sep 2012)
New Revision: 20744
Modified:
short/3D/PyLith/branches/v1.7-stable/libsrc/pylith/bc/AbsorbingDampers.cc
short/3D/PyLith/branches/v1.7-stable/libsrc/pylith/bc/Neumann.cc
Log:
Fixed deallocation bug. Children should call parent deallocate().
Modified: short/3D/PyLith/branches/v1.7-stable/libsrc/pylith/bc/AbsorbingDampers.cc
===================================================================
--- short/3D/PyLith/branches/v1.7-stable/libsrc/pylith/bc/AbsorbingDampers.cc 2012-09-19 22:24:42 UTC (rev 20743)
+++ short/3D/PyLith/branches/v1.7-stable/libsrc/pylith/bc/AbsorbingDampers.cc 2012-09-19 22:45:44 UTC (rev 20744)
@@ -67,6 +67,7 @@
void
pylith::bc::AbsorbingDampers::deallocate(void)
{ // deallocate
+ BCIntegratorSubMesh::deallocate();
_db = 0; // :TODO: Use shared pointer
} // deallocate
Modified: short/3D/PyLith/branches/v1.7-stable/libsrc/pylith/bc/Neumann.cc
===================================================================
--- short/3D/PyLith/branches/v1.7-stable/libsrc/pylith/bc/Neumann.cc 2012-09-19 22:24:42 UTC (rev 20743)
+++ short/3D/PyLith/branches/v1.7-stable/libsrc/pylith/bc/Neumann.cc 2012-09-19 22:45:44 UTC (rev 20744)
@@ -62,6 +62,7 @@
void
pylith::bc::Neumann::deallocate(void)
{ // deallocate
+ BCIntegratorSubMesh::deallocate();
TimeDependent::deallocate();
} // deallocate
More information about the CIG-COMMITS
mailing list