Explorar o código

mpi/tests/insert_task_cache.c: free allocated memory

Nathalie Furmento %!s(int64=12) %!d(string=hai) anos
pai
achega
6f65596c8b
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      mpi/tests/insert_task_cache.c

+ 3 - 0
mpi/tests/insert_task_cache.c

@@ -137,6 +137,9 @@ int main(int argc, char **argv)
 	else
 		result = 1;
 
+	free(comm_amount_without_cache);
+	free(comm_amount_with_cache);
+
 	MPI_Finalize();
 	return !result;
 }