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:
fdf9c99
)
isl_access_info_add_source: plug memory leak on error path
author
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 22 Aug 2012 09:11:49 +0000
(11:11 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 2 Sep 2012 10:24:27 +0000
(12:24 +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
3d07e32
..
2443394
100644
(file)
--- a/
isl_flow.c
+++ b/
isl_flow.c
@@
-277,7
+277,7
@@
__isl_give isl_access_info *isl_access_info_add_source(
isl_ctx *ctx;
if (!acc)
-
return NULL
;
+
goto error
;
ctx = isl_map_get_ctx(acc->sink.map);
isl_assert(ctx, acc->n_must + acc->n_may < acc->max_source, goto error);