Commit 3b1b0500 authored by Norio Yamaguchi's avatar Norio Yamaguchi Committed by Pavan Balaji
Browse files

Add memory release operation

parent f94e850c
......@@ -4,6 +4,7 @@
**LLC_init:LLC_init failed
**LLC_poll:LLC_poll failed
**LLC_post:LLC_post failed
**LLC_release_buffer:LLC_release_buffer failed
**MPIDI_PG_GetConnKVSname:MPIDI_PG_GetConnKVSname failed
**MPID_nem_ib_kvs_get_binary:MPID_nem_ib_kvs_get_binary failed
**MPID_nem_ib_kvs_put_binary:MPID_nem_ib_kvs_put_binary failed
......
......@@ -672,6 +672,8 @@ int llctofu_poll(int in_blocking_poll,
((MPID_nem_tofu_netmod_hdr_t*)buff)->initiator_pg_rank,
(uint8_t*)buff + sizeof(MPID_nem_tofu_netmod_hdr_t),
bsiz);
llc_errno = LLC_release_buffer(&events[0]);
MPIU_ERR_CHKANDJUMP(llc_errno, mpi_errno, MPI_ERR_OTHER, "**LLC_release_buffer");
break; }
case LLC_EVENT_RECV_MATCHED: {
......@@ -724,6 +726,8 @@ int llctofu_poll(int in_blocking_poll,
/* Mark completion on rreq */
MPIDI_CH3U_Request_complete(req);
llc_errno = LLC_cmd_free(lcmd, 1);
MPIU_ERR_CHKANDJUMP(llc_errno, mpi_errno, MPI_ERR_OTHER, "**LLC_cmd_free");
break; }
default:
printf("llctofu_poll,unknown event type=%d\n", events[0].type);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment