isl_mat_right_inverse: add memory management annotations
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 8 Jan 2017 21:56:06 +0000 (8 22:56 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 24 Apr 2017 11:38:34 +0000 (24 13:38 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_mat.c

index 4fe5832..d684bb6 100644 (file)
--- a/isl_mat.c
+++ b/isl_mat.c
@@ -949,7 +949,7 @@ void isl_mat_col_combine(struct isl_mat *mat, unsigned dst,
        isl_int_clear(tmp);
 }
 
-struct isl_mat *isl_mat_right_inverse(struct isl_mat *mat)
+__isl_give isl_mat *isl_mat_right_inverse(__isl_take isl_mat *mat)
 {
        struct isl_mat *inv;
        int row;