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:
e88220f
)
isl_printer_print_basic_map: plug memory leak on error path
author
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 22 Dec 2010 17:45:47 +0000
(18:45 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 22 Dec 2010 22:35:54 +0000
(23:35 +0100)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_output.c
patch
|
blob
|
history
diff --git
a/isl_output.c
b/isl_output.c
index
05f36eb
..
b2d5625
100644
(file)
--- a/
isl_output.c
+++ b/
isl_output.c
@@
-499,6
+499,7
@@
static __isl_give isl_printer *print_constraints(__isl_keep isl_basic_map *bmap,
return p;
error:
+ isl_vec_free(c);
isl_printer_free(p);
return NULL;
}