isl_convex_hull.c: convex_hull_1d: add memory management annotations
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 26 Jul 2016 16:01:07 +0000 (26 18:01 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 24 Apr 2017 11:38:33 +0000 (24 13:38 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_convex_hull.c

index ff82424..5b8a11d 100644 (file)
@@ -615,7 +615,7 @@ error:
  * We simply collect the lower and upper bounds of each basic set
  * and the biggest of those.
  */
-static struct isl_basic_set *convex_hull_1d(struct isl_set *set)
+static __isl_give isl_basic_set *convex_hull_1d(__isl_take isl_set *set)
 {
        struct isl_mat *c = NULL;
        isl_int *lower = NULL;