summaryrefslogblamecommitdiff
path: root/var/spack/repos/builtin/packages/tetgen/tetgen-1.5.0-free.patch
blob: 009ccd834f589c1f36eb412dd91e91bd0bc636e7 (plain) (tree)
















































                                  
diff --git a/tetgen.h b/tetgen.h
index 3196e03..2ff3138 100644
--- a/tetgen.h
+++ b/tetgen.h
@@ -2206,6 +2206,44 @@ public:
     if (highordertable != NULL) {
       delete [] highordertable;
     }
+
+    bgm = NULL;
+
+    points = NULL;
+    dummypoint = NULL;
+
+    tetrahedrons = NULL;
+
+    subfaces = NULL;
+    subsegs = NULL;
+
+    tet2segpool = NULL;
+    tet2subpool = NULL;
+
+    flippool = NULL;
+    unflipqueue = NULL;
+
+    cavetetlist = NULL;
+    cavebdrylist = NULL;
+    caveoldtetlist = NULL;
+    cavetetvertlist = NULL;
+
+    caveshlist = NULL;
+    caveshbdlist = NULL;
+    cavesegshlist = NULL;
+    cavetetshlist = NULL;
+    cavetetseglist = NULL;
+    caveencshlist = NULL;
+    caveencseglist = NULL;
+
+    subsegstack = NULL;
+    subfacstack = NULL;
+    subvertstack = NULL;
+
+    idx2facetlist = NULL;
+    facetverticeslist = NULL;
+    segmentendpointslist = NULL;
+    highordertable = NULL;
   }
 
   ~tetgenmesh()