Skip to content

Commit 0e878c1

Browse files
committed
Silence Coverity warning
Signed-off-by: Ralph Castain <[email protected]>
1 parent ddfef30 commit 0e878c1

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
@@ -484,6 +484,9 @@ int ompi_dpm_connect_accept(ompi_communicator_t *comm, int root,
484484
if (NULL != mycpuset) {
485485
free(mycpuset);
486486
}
487+
if (NULL != peer_ranks) {
488+
free(peer_ranks);
489+
}
487490
/* call add_procs on the new ones */
488491
rc = MCA_PML_CALL(add_procs(new_proc_list, opal_list_get_size(&ilist)));
489492
free(new_proc_list);

0 commit comments

Comments
 (0)