Skip to content

Commit ff04f52

Browse files
Merge pull request #1490 from lplewa/os_goto_err
fix error handling in os_provider
2 parents 0ff15ca + 2121cc5 commit ff04f52

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)