Skip to content

Commit 628b4f7

Browse files
author
Ralph Castain
authored
Merge pull request #4051 from rhc54/topic/cov
Silence coverity warnings
2 parents 04ed29c + 53c9270 commit 628b4f7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

opal/mca/pmix/pmix2x/pmix2x_client.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ int pmix2x_client_init(opal_list_t *ilist)
8080
}
8181
/* check the evars for a mismatch */
8282
if (OPAL_SUCCESS != (dbg = opal_pmix_pmix2x_check_evars())) {
83+
OPAL_PMIX_RELEASE_THREAD(&opal_pmix_base.lock);
8384
return dbg;
8485
}
8586
}

opal/mca/pmix/pmix2x/pmix2x_server_south.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ int pmix2x_server_init(opal_pmix_server_module_t *module,
110110
}
111111
/* check the evars for a mismatch */
112112
if (OPAL_SUCCESS != (dbg = opal_pmix_pmix2x_check_evars())) {
113+
OPAL_PMIX_RELEASE_THREAD(&opal_pmix_base.lock);
113114
return dbg;
114115
}
115116
}

0 commit comments

Comments
 (0)