Skip to content

Commit 2121cc5

Browse files
committed
fix error handling in os_provider
1 parent fcb3f99 commit 2121cc5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/provider/provider_os_memory.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,7 @@ static umf_result_t os_initialize(const void *params, void **provider) {
568568
0);
569569
LOG_ERR("HWLOC topology discovery failed");
570570
ret = UMF_RESULT_ERROR_MEMORY_PROVIDER_SPECIFIC;
571+
goto err_free_os_provider;
571572
}
572573

573574
os_provider->fd_offset_map = critnib_new(NULL, NULL);

0 commit comments

Comments
 (0)