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:
c39e514
)
isl_pw_*_realign_domain: plug memory leak on error path
author
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 18 Jul 2012 15:52:11 +0000
(17:52 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 27 Jul 2012 16:20:09 +0000
(18:20 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_pw_templ.c
patch
|
blob
|
history
diff --git
a/isl_pw_templ.c
b/isl_pw_templ.c
index
8f43fe6
..
fba2fa8
100644
(file)
--- a/
isl_pw_templ.c
+++ b/
isl_pw_templ.c
@@
-221,7
+221,7
@@
__isl_give PW *FN(PW,realign_domain)(__isl_take PW *pw,
pw = FN(PW,cow)(pw);
if (!pw || !exp)
-
return NULL
;
+
goto error
;
for (i = 0; i < pw->n; ++i) {
pw->p[i].set = isl_set_realign(pw->p[i].set,