From d4a22f36ab7d4b6c5fb4eda08f2df1bef1fa4710 Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Fri, 22 Mar 2024 17:15:39 +0100
Subject: [PATCH] ipiv_gather: fix memory leak with the tags

---
 runtime/starpu/control/runtime_descriptor_ipiv.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/runtime/starpu/control/runtime_descriptor_ipiv.c b/runtime/starpu/control/runtime_descriptor_ipiv.c
index 634378e8d..48be66e17 100644
--- a/runtime/starpu/control/runtime_descriptor_ipiv.c
+++ b/runtime/starpu/control/runtime_descriptor_ipiv.c
@@ -356,4 +356,6 @@ void RUNTIME_ipiv_gather( const RUNTIME_sequence_t *sequence,
             starpu_data_unregister( ipiv_dst );
         }
     }
+
+    chameleon_starpu_tag_release( tag );
 }
-- 
GitLab