fix isl_union_map_detect_equalities memory management annotation
authorTobias Grosser <tobias@grosser.es>
Sun, 9 Sep 2012 18:38:57 +0000 (20:38 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 10 Sep 2012 09:30:13 +0000 (11:30 +0200)
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 <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
include/isl/union_map.h

index 7fd0236..a30effa 100644 (file)
@@ -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(