Skip to content

Commit 1b6b596

Browse files
committed
ofi/common: add a missing mutex unlock
fixes coverity CID 1515833 Signed-off-by: Howard Pritchard <howardp@lanl.gov>
1 parent 17767a2 commit 1b6b596

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opal/mca/common/ofi/common_ofi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ int opal_common_ofi_export_memory_monitor(void)
124124
OPAL_THREAD_LOCK(&opal_common_ofi_mutex);
125125

126126
if (NULL != opal_common_ofi_cache_fid) {
127+
OPAL_THREAD_UNLOCK(&opal_common_ofi_mutex);
127128
return 0;
128129
}
129130

0 commit comments

Comments
 (0)