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:
d8b10f9
)
isl_input.c: accept_affine_list: plug memory leak on error path
author
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 30 Nov 2012 16:55:30 +0000
(17:55 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 30 Nov 2012 22:38:28 +0000
(23:38 +0100)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_input.c
patch
|
blob
|
history
diff --git
a/isl_input.c
b/isl_input.c
index
3450d87
..
f2e57e7
100644
(file)
--- a/
isl_input.c
+++ b/
isl_input.c
@@
-700,7
+700,7
@@
static __isl_give isl_pw_aff_list *accept_affine_list(struct isl_stream *s,
list = isl_pw_aff_list_concat(list,
isl_pw_aff_list_from_pw_aff(pwaff));
if (!list)
-
return NULL
;
+
goto error
;
}
isl_space_free(dim);