Skip to content

Commit e17203b

Browse files
committed
Silence Coverity warning
Signed-off-by: Ralph Castain <[email protected]>
1 parent 14f3fbb commit e17203b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ompi/dpm/dpm.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,9 @@ int ompi_dpm_connect_accept(ompi_communicator_t *comm, int root,
482482
if (NULL != mycpuset) {
483483
free(mycpuset);
484484
}
485+
if (NULL != peer_ranks) {
486+
free(peer_ranks);
487+
}
485488
/* call add_procs on the new ones */
486489
rc = MCA_PML_CALL(add_procs(new_proc_list, opal_list_get_size(&ilist)));
487490
free(new_proc_list);

0 commit comments

Comments
 (0)