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:
ef2d658
)
isl_multi_*_realign_domain: plug memory leak on error path
author
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 30 Nov 2012 23:21:40 +0000
(
00:21
+0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sat, 1 Dec 2012 16:38:07 +0000
(17:38 +0100)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_multi_templ.c
patch
|
blob
|
history
diff --git
a/isl_multi_templ.c
b/isl_multi_templ.c
index
338d915
..
7080493
100644
(file)
--- a/
isl_multi_templ.c
+++ b/
isl_multi_templ.c
@@
-345,7
+345,7
@@
__isl_give MULTI(BASE) *FN(MULTI(BASE),realign_domain)(
multi = FN(MULTI(BASE),cow)(multi);
if (!multi || !exp)
-
return NULL
;
+
goto error
;
for (i = 0; i < multi->n; ++i) {
multi->p[i] = FN(EL,realign_domain)(multi->p[i],