Skip to content

Commit 45a766a

Browse files
committed
ofi/common: close memory base in an error path
related to #10975 Signed-off-by: Howard Pritchard <[email protected]>
1 parent ff62b05 commit 45a766a

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
@@ -190,6 +190,7 @@ int opal_common_ofi_export_memory_monitor(void)
190190
free(opal_common_ofi_monitor);
191191
}
192192

193+
mca_base_framework_close(&opal_memory_base_framework);
193194
opal_common_ofi_installed_memory_monitor = false;
194195
}
195196

0 commit comments

Comments
 (0)