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:
77db762
)
isl_convex_hull: fix memory leak in error path
author
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 19 Sep 2008 13:43:40 +0000
(15:43 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 12 Oct 2008 08:57:55 +0000
(10:57 +0200)
isl_convex_hull.c
patch
|
blob
|
history
diff --git
a/isl_convex_hull.c
b/isl_convex_hull.c
index
6dbddf3
..
a239756
100644
(file)
--- 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:
hull = isl_basic_set_finalize(hull);
return hull;
error:
+ isl_basic_set_free(facet);
isl_basic_set_free(hull);
return NULL;
}
isl_basic_set_free(hull);
return NULL;
}