From b4b3240589e40520b8f0fc1602b8cefb95ce903b Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sat, 26 Jun 2010 16:08:08 +0200 Subject: [PATCH] isl_affine_hull.c: outside_point: fix error handling --- isl_affine_hull.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isl_affine_hull.c b/isl_affine_hull.c index 797b4cfc..dcb3d18b 100644 --- a/isl_affine_hull.c +++ b/isl_affine_hull.c @@ -295,7 +295,7 @@ static struct isl_vec *outside_point(struct isl_tab *tab, isl_int *eq, int up) if (!up) isl_seq_neg(eq, eq, 1 + dim); - if (isl_tab_rollback(tab, snap) < 0) + if (sample && isl_tab_rollback(tab, snap) < 0) goto error; return sample; -- 2.11.4.GIT