diff --git a/src/arena.c b/src/arena.c index 80af3f99..70d71fcb 100644 --- a/src/arena.c +++ b/src/arena.c @@ -895,8 +895,8 @@ arena_destroy_retained(tsdn_t *tsdn, arena_t *arena) * own metadata structures, but if deallocation fails, that is the * application's decision/problem. In practice, retained extents are * leaked here if !config_munmap unless the application provided custom - * extent hooks, so best practice to either enable munmap (and avoid dss - * for arenas to be destroyed), or provide custom extent hooks that + * extent hooks, so best practice is to either enable munmap (and avoid + * dss for arenas to be destroyed), or provide custom extent hooks that * either unmap retained extents or track them for later use. */ for (i = 0; i < sizeof(arena->extents_retained)/sizeof(extent_heap_t); diff --git a/src/extent.c b/src/extent.c index 73f79c1c..27cf97cd 100644 --- a/src/extent.c +++ b/src/extent.c @@ -1011,7 +1011,6 @@ extent_dalloc_default_impl(void *addr, size_t size) return (true); } - static bool extent_dalloc_default(extent_hooks_t *extent_hooks, void *addr, size_t size, bool committed, unsigned arena_ind)