From 81feeca5ed403376fd004da30d5de8a8077dde59 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Wed, 14 Jul 2004 19:33:07 +0000 Subject: [PATCH] Delte the attribute on the correct object. This commit was SVN r1728. --- src/communicator/comm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/communicator/comm.c b/src/communicator/comm.c index 67382eab0a..aeab0cff02 100644 --- a/src/communicator/comm.c +++ b/src/communicator/comm.c @@ -589,11 +589,11 @@ int ompi_comm_free ( ompi_communicator_t **comm ) { /* Release attributes */ - ompi_attr_delete_all ( COMM_ATTR, comm, (*comm)->c_keyhash ); + ompi_attr_delete_all ( COMM_ATTR, (*comm), (*comm)->c_keyhash ); OBJ_RELEASE((*comm)->c_keyhash); /* Release the communicator */ - OBJ_RELEASE ( *comm ); + OBJ_RELEASE ( (*comm) ); *comm = MPI_COMM_NULL; return OMPI_SUCCESS;