diff --git a/poly2d/p2d_hsort.c b/poly2d/p2d_hsort.c index e4ee6e6..07aa958 100644 --- a/poly2d/p2d_hsort.c +++ b/poly2d/p2d_hsort.c @@ -101,7 +101,7 @@ void p2d_hier_free(struct p2d_hier *t) p2d_hier_free(t->holes); p = &t->p; next = p2d_to_hier(p->next); - p2d_free_all(p); + p2d_free(p); t = next; } }