Skip to content

Commit fa23dd8

Browse files
committed
Add libumfInit call to the umfJemallocPoolParamsCreate
1 parent 109cc50 commit fa23dd8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pool/pool_jemalloc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <string.h>
1212

1313
#include "base_alloc_global.h"
14+
#include "libumf.h"
1415
#include "utils_common.h"
1516
#include "utils_concurrency.h"
1617
#include "utils_log.h"
@@ -61,6 +62,7 @@ static jemalloc_memory_pool_t *get_pool_by_arena_index(unsigned arena_ind) {
6162

6263
umf_result_t
6364
umfJemallocPoolParamsCreate(umf_jemalloc_pool_params_handle_t *hParams) {
65+
libumfInit();
6466
if (!hParams) {
6567
LOG_ERR("jemalloc pool params handle is NULL");
6668
return UMF_RESULT_ERROR_INVALID_ARGUMENT;

0 commit comments

Comments
 (0)