memory free vergessen

This commit is contained in:
Johannes Winklehner 2016-05-11 22:03:45 +02:00
parent 265bb2ac36
commit 7be8b179ba

View file

@ -72,7 +72,10 @@ int Binom_Reduce(const void *sendbuf, void *recvbuf, int count,
if (r != root) {
MPI_Send(reduced, count, datatype, r - i, i, comm);
MPI_Free_mem(reduced);
}
MPI_Free_mem(recv);
return 0;
}