From bdc5884e2c9758d9978d6b676c1498a82ceefad3 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Fri, 19 Sep 2008 15:43:40 +0200 Subject: [PATCH] isl_convex_hull: fix memory leak in error path --- isl_convex_hull.c | 1 + 1 file changed, 1 insertion(+) diff --git a/isl_convex_hull.c b/isl_convex_hull.c index 6dbddf3..a239756 100644 --- a/isl_convex_hull.c +++ b/isl_convex_hull.c @@ -686,6 +686,7 @@ static struct isl_basic_set *extend(struct isl_ctx *ctx, struct isl_set *set, hull = isl_basic_set_finalize(hull); return hull; error: + isl_basic_set_free(facet); isl_basic_set_free(hull); return NULL; } -- 2.7.4