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:
e471617
)
isl_affine_hull.c: equalities_in_underlying_set: plug memory leak on error path
author
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 25 Jun 2010 19:55:05 +0000
(21:55 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sat, 26 Jun 2010 15:37:40 +0000
(17:37 +0200)
isl_affine_hull.c
patch
|
blob
|
history
diff --git
a/isl_affine_hull.c
b/isl_affine_hull.c
index
8356446
..
0e8811b
100644
(file)
--- a/
isl_affine_hull.c
+++ b/
isl_affine_hull.c
@@
-811,9
+811,10
@@
static struct isl_basic_set *equalities_in_underlying_set(
if (!T2)
return hull;
- if (!hull)
+ if (!hull)
{
isl_mat_free(T1);
- else {
+ isl_mat_free(T2);
+ } else {
struct isl_vec *sample = isl_vec_copy(hull->sample);
if (sample && sample->size > 0)
sample = isl_mat_vec_product(T1, sample);