From bc396ae28f9dedb8a2156f605aac20a97c4241e6 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sat, 15 Sep 2012 10:19:56 +0200 Subject: [PATCH] isl_convex_hull.c: initial_facet_constraint: avoid invalid access on error path Signed-off-by: Sven Verdoolaege --- isl_convex_hull.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isl_convex_hull.c b/isl_convex_hull.c index c75d77f6..8162d4ff 100644 --- a/isl_convex_hull.c +++ b/isl_convex_hull.c @@ -483,7 +483,7 @@ static __isl_give isl_mat *initial_facet_constraint(__isl_keep isl_set *set) int i; unsigned dim = isl_set_n_dim(set); int is_bound; - isl_mat *bounds; + isl_mat *bounds = NULL; isl_assert(set->ctx, set->n > 0, goto error); bounds = isl_mat_alloc(set->ctx, 1, 1 + dim); -- 2.11.4.GIT