From: Tobias Grosser Date: Sun, 9 Sep 2012 18:38:57 +0000 (+0200) Subject: fix isl_union_map_detect_equalities memory management annotation X-Git-Tag: isl-0.11~187 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=371d794005ab0568079252125d735ecfb287dc39;p=platform%2Fupstream%2Fisl.git 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 --- 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(