From 371d794005ab0568079252125d735ecfb287dc39 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Sun, 9 Sep 2012 20:38:57 +0200 Subject: [PATCH 1/1] fix isl_union_map_detect_equalities memory management annotation The signature of that function had accidently an __isl_keep annotation instead of an __isl_take. Fix this such that the signature in the header matches the signature of the implementation. Signed-off-by: Tobias Grosser Signed-off-by: Sven Verdoolaege --- include/isl/union_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/isl/union_map.h b/include/isl/union_map.h index 7fd0236..a30effa 100644 --- a/include/isl/union_map.h +++ b/include/isl/union_map.h @@ -113,7 +113,7 @@ __isl_give isl_union_map *isl_union_map_from_domain_and_range( __isl_export __isl_give isl_union_map *isl_union_map_detect_equalities( - __isl_keep isl_union_map *umap); + __isl_take isl_union_map *umap); __isl_export __isl_give isl_union_set *isl_union_map_deltas(__isl_take isl_union_map *umap); __isl_give isl_union_map *isl_union_map_deltas_map( -- 2.7.4