Add free
This commit is contained in:
parent
f6dedcd131
commit
cfb4d058ae
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user