1
1

use correct free methode for additional allocated memory

This commit was SVN r10241.
Этот коммит содержится в:
Sven Stork 2006-06-07 10:24:28 +00:00
родитель 8031f191e2
Коммит 0084c9469a

Просмотреть файл

@ -5,7 +5,7 @@
* Copyright (c) 2004-2005 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
* Copyright (c) 2004-2006 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
@ -99,7 +99,7 @@ int MPI_Sendrecv_replace(void * buf, int count, MPI_Datatype datatype,
MPI_BYTE, source, recvtag, comm, &recv_status );
if (rc != MPI_SUCCESS) {
if(packed_size > sizeof(recv_data))
free(iov.iov_base);
MPI_Free_mem(iov.iov_base);
OBJ_DESTRUCT(&convertor);
OMPI_ERRHANDLER_RETURN(rc, comm, rc, FUNC_NAME);
}