Skip to content
Snippets Groups Projects
Commit 54fec918 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Replace xmalloc/free with Malloc/Free.

parent 3e25b87a
No related branches found
No related tags found
No related merge requests found
......@@ -204,13 +204,13 @@ static void modelRun ( MPI_Comm comm )
reshPackBufferCreate(&sendBuffer, &bufferSize, &comm);
xmpi ( MPI_Send ( sendBuffer, bufferSize, MPI_PACKED, 0, 0, comm ));
recvBuffer = xmalloc((size_t)bufferSize);
recvBuffer = Malloc((size_t)bufferSize);
xmpi ( MPI_Recv ( recvBuffer, bufferSize, MPI_PACKED, 0,
0, comm, &status ));
namespaceSetActive ( 1 );
reshUnpackResources(recvBuffer, bufferSize, &comm);
free ( recvBuffer );
Free ( recvBuffer );
reshPackBufferDestroy ( &sendBuffer );
differ = reshListCompare ( 0, 1 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment