You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix memory leak in ompi_coll_base_reduce_intra_in_order_binary: Coverity CID 1397316
Coverity static analysis reports a memory leak in ompi_coll_base_reduce_intra_in_order_binary
The memory leak occurs if the call to ompi_coll_base_reduce_intra_in_order_binary fails, since tmpbuf_free is not freed until after the error status check.
This is fixed by moving the free(tmpbif_free) statement to just before the status check.
Signed-off-by: David Wootton <dwootton@us.ibm.com>
Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
0 commit comments