Skip to content

Commit

Permalink
prov/opx: Resolve additional memory leaks
Browse files Browse the repository at this point in the history
Signed-off-by: Elias Kozah <[email protected]>
  • Loading branch information
Elias Kozah authored and j-xiong committed Mar 14, 2024
1 parent 44118c7 commit 8026684
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions prov/opx/src/fi_opx_reliability.c
Original file line number Diff line number Diff line change
Expand Up @@ -2690,19 +2690,20 @@ void fi_opx_reliability_client_fini (struct fi_opx_reliability_client_state * st
}


/* TODO - delete rbtree and flows, but first have to notify
* reliability service of the tear-down */
/*if (state->flow_rbtree_resynch) {
if (state->flow_rbtree_resynch) {
rbtDelete(state->flow_rbtree_resynch);
state->flow_rbtree_resynch = NULL;
}

if (state->rx_flow_rbtree) {
rbtDelete(state->rx_flow_rbtree);
state->rx_flow_rbtree = NULL;
}

if(state->tx_flow_rbtree) {
rbtDelete(state->tx_flow_rbtree);
}*/
state->tx_flow_rbtree = NULL;
}
}

__OPX_FORCE_INLINE__
Expand Down

0 comments on commit 8026684

Please sign in to comment.