We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 77f0cb5 + 7d1f1d0 commit cb0dba0Copy full SHA for cb0dba0
src/pool/pool_jemalloc.c
@@ -504,7 +504,7 @@ static umf_result_t op_initialize(umf_memory_provider_handle_t provider,
504
err = je_mallctl(cmd, NULL, NULL, (void *)&pHooks, sizeof(void *));
505
if (err) {
506
snprintf(cmd, sizeof(cmd), "arena.%u.destroy", arena_index);
507
- je_mallctl(cmd, NULL, 0, NULL, 0);
+ (void)je_mallctl(cmd, NULL, 0, NULL, 0);
508
LOG_ERR("Could not setup extent_hooks for newly created arena.");
509
goto err_free_pool;
510
}
@@ -528,7 +528,7 @@ static void op_finalize(void *pool) {
528
jemalloc_memory_pool_t *je_pool = (jemalloc_memory_pool_t *)pool;
529
char cmd[64];
530
snprintf(cmd, sizeof(cmd), "arena.%u.destroy", je_pool->arena_index);
531
532
pool_by_arena_index[je_pool->arena_index] = NULL;
533
umf_ba_global_free(je_pool);
534
0 commit comments