From eada6ea99f528d88a716738c3ea0adc0265f4416 Mon Sep 17 00:00:00 2001 From: Franz Zotter Date: Wed, 29 Aug 2012 07:31:50 +0000 Subject: oops, corrected a bug svn path=/trunk/externals/iem/iemmatrix/; revision=16184 --- src/mtx_qhull/zhull.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mtx_qhull/zhull.c') diff --git a/src/mtx_qhull/zhull.c b/src/mtx_qhull/zhull.c index 0c4409e..7832f39 100644 --- a/src/mtx_qhull/zhull.c +++ b/src/mtx_qhull/zhull.c @@ -176,6 +176,7 @@ void freeZhull(zhull_t *zh) { freeFacets(zh); freeList(&(zh->facets_with_insidepoints)); freeList(&(zh->facets_with_outsidepoints)); + freeList(&(zh->used_pts)); freePoints(&(zh->pts)); } } @@ -206,6 +207,7 @@ zhull_t zhullInitPoints(const float *x, const float *y, zh.facets=emptyList(); zh.facets_with_outsidepoints=emptyList(); zh.facets_with_insidepoints=emptyList(); + zh.used_pts=emptyList(); return zh; } -- cgit v1.2.1