This commit is contained in:
Raffaele Mignone 2021-04-06 16:16:28 +02:00
parent f6dedcd131
commit cfb4d058ae
Signed by: norangebit
GPG Key ID: F5255658CB220573
1 changed files with 5 additions and 0 deletions

View File

@ -182,4 +182,9 @@ void collect_results(int *match_number, int *matches) {
MPI_INT, MASTER,
MPI_COMM_WORLD
);
if (rank == MASTER) {
free(match_numbers);
free(displacements);
}
}