projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68e0404
)
wrap_facet: missing error path
author
Sven Verdoolaege
<skimo@kotnet.org>
Sat, 20 Sep 2008 21:11:53 +0000
(23:11 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 12 Oct 2008 18:30:56 +0000
(20:30 +0200)
isl_convex_hull.c
patch
|
blob
|
history
diff --git
a/isl_convex_hull.c
b/isl_convex_hull.c
index
14b5817
..
c7ccd8f
100644
(file)
--- a/
isl_convex_hull.c
+++ b/
isl_convex_hull.c
@@
-441,6
+441,8
@@
static isl_int *wrap_facet(struct isl_ctx *ctx, struct isl_set *set,
T = isl_mat_right_inverse(ctx, T);
set = isl_set_preimage(ctx, set, T);
T = NULL;
+ if (!set)
+ goto error;
lp = wrap_constraints(ctx, set);
obj = isl_vec_alloc(ctx, dim*set->n);
if (!obj)