Skip to content

Commit 109cc50

Browse files
committed
Add libumfInit call to the umfScalablePoolParamsCreate
1 parent 67127a5 commit 109cc50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pool/pool_scalable.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <umf/pools/pool_scalable.h>
2020

2121
#include "base_alloc_global.h"
22+
#include "libumf.h"
2223
#include "utils_common.h"
2324
#include "utils_concurrency.h"
2425
#include "utils_load_library.h"
@@ -175,6 +176,7 @@ static void tbb_raw_free_wrapper(intptr_t pool_id, void *ptr, size_t bytes) {
175176

176177
umf_result_t
177178
umfScalablePoolParamsCreate(umf_scalable_pool_params_handle_t *hParams) {
179+
libumfInit();
178180
if (!hParams) {
179181
LOG_ERR("scalable pool params handle is NULL");
180182
return UMF_RESULT_ERROR_INVALID_ARGUMENT;

0 commit comments

Comments
 (0)