[cig-commits] [commit] knepley/fix-faults-parallel: Faults: Added missing destroy (8f21109)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed May 14 12:59:19 PDT 2014


Repository : https://github.com/geodynamics/pylith

On branch  : knepley/fix-faults-parallel
Link       : https://github.com/geodynamics/pylith/compare/4f144dd83548e1b889462af195c825a925c663f9...8f21109c803fe2f699a9397a295c924222c730b1

>---------------------------------------------------------------

commit 8f21109c803fe2f699a9397a295c924222c730b1
Author: Matthew G. Knepley <knepley at gmail.com>
Date:   Wed May 14 14:59:06 2014 -0500

    Faults: Added missing destroy


>---------------------------------------------------------------

8f21109c803fe2f699a9397a295c924222c730b1
 libsrc/pylith/faults/CohesiveTopology.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libsrc/pylith/faults/CohesiveTopology.cc b/libsrc/pylith/faults/CohesiveTopology.cc
index d438042..daf6763 100644
--- a/libsrc/pylith/faults/CohesiveTopology.cc
+++ b/libsrc/pylith/faults/CohesiveTopology.cc
@@ -118,6 +118,7 @@ pylith::faults::CohesiveTopology::create(topology::Mesh* mesh,
       }
     }
     err = ISRestoreIndices(bdIS, &bd);PYLITH_CHECK_ERROR(err);
+    err = ISDestroy(&bdIS);PYLITH_CHECK_ERROR(err);
   }
   // Have to remember the old number of cohesive cells
   err = DMPlexGetHeightStratum(dm, 0, NULL, &cEnd);PYLITH_CHECK_ERROR(err);



More information about the CIG-COMMITS mailing list