1
1

items belonging to peer_send_queue are mca_oob_tcp_msg_t *, which are obtained through a opal_freelist.

They shouldn't be released, but returned to the freelist.

This commit was SVN r24679.
Этот коммит содержится в:
Thomas Herault 2011-05-03 21:03:09 +00:00
родитель 3fed6053a4
Коммит fb3fd8fd0e

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

@ -1923,7 +1923,7 @@ int mca_oob_tcp_set_addr(const orte_process_name_t* name, const char* uri)
peer->peer_state = MCA_OOB_TCP_CLOSED;
/* clear any pending sends */
while (NULL != (item = opal_list_remove_first(&peer->peer_send_queue))) {
OBJ_RELEASE(item);
MCA_OOB_TCP_MSG_RETURN( ((mca_oob_tcp_msg_t *)item) );
}
peer->peer_send_msg = NULL;
/* clear any pending recvs */