@@ -1473,7 +1473,8 @@ static void *_starpu_mpi_progress_thread_func(void *arg)
struct _starpu_mpi_copy_handle_hashlist *current, *tmp;
HASH_ITER(hh, _starpu_mpi_copy_handle_hashmap[n], current, tmp)
{
- HASH_DEL(_starpu_mpi_copy_handle_hashmap[n], current);
+ free(current);
+ HASH_DEL(_starpu_mpi_copy_handle_hashmap[n], current);
}