From: Sven Verdoolaege Date: Thu, 24 Apr 2014 09:03:32 +0000 (+0200) Subject: isl_flow.c: all_sources: fix memory management annotation X-Git-Tag: isl-0.14~139 X-Git-Url: https://repo.or.cz/w/isl.git/commitdiff_plain/4e3b4b82fa02031a9eb42e4bf04967d74ceba929 isl_flow.c: all_sources: fix memory management annotation The wrong annotation has been used since this function was introduced in 0eacaaa (isl_access_info_compute_flow: handle may accesses, Wed May 26 20:51:25 2010 +0200). Signed-off-by: Sven Verdoolaege --- diff --git a/isl_flow.c b/isl_flow.c index a263d95f..c45d47b8 100644 --- a/isl_flow.c +++ b/isl_flow.c @@ -738,7 +738,7 @@ static __isl_give isl_map *all_sources(__isl_keep isl_access_info *acc, * after_level. */ static __isl_give isl_map *all_later_sources(__isl_keep isl_access_info *acc, - __isl_keep isl_map *old_map, + __isl_take isl_map *old_map, int j, int before_level, int k, int after_level) { isl_space *dim;