Browse Source

fix memleak

Samuel Thibault 10 years ago
parent
commit
87c2d15652
1 changed files with 2 additions and 0 deletions
  1. 2 0
      mpi/src/starpu_mpi_task_insert.c

+ 2 - 0
mpi/src/starpu_mpi_task_insert.c

@@ -487,6 +487,8 @@ int _starpu_mpi_task_postbuild_v(MPI_Comm comm, int xrank, int do_execute, struc
 		_starpu_mpi_clear_data_after_execution(descrs[i].handle, descrs[i].mode, me, do_execute, comm);
 	}
 
+	free(descrs);
+
 	_STARPU_MPI_LOG_OUT();
 	return 0;
 }