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:
6e19326
)
isl_access_info_compute_flow: plug memory leak on error path
author
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 5 Aug 2011 09:01:02 +0000
(11:01 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 5 Aug 2011 09:01:02 +0000
(11:01 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_flow.c
patch
|
blob
|
history
diff --git
a/isl_flow.c
b/isl_flow.c
index
128aee5
..
6b6c3cb
100644
(file)
--- a/
isl_flow.c
+++ b/
isl_flow.c
@@
-898,7
+898,7
@@
__isl_give isl_flow *isl_access_info_compute_flow(__isl_take isl_access_info *ac
else
res = compute_val_based_dependences(acc);
if (!res)
-
return NULL
;
+
goto error2
;
for (j = 0; j < res->n_source; ++j) {
res->dep[j].map = isl_map_apply_range(res->dep[j].map,