diff --git a/bin/lwresd/main.c b/bin/lwresd/main.c index 3c014abf7e..eb8f0030db 100644 --- a/bin/lwresd/main.c +++ b/bin/lwresd/main.c @@ -484,7 +484,7 @@ main(int argc, char **argv) { /* * Kill the memory system. */ - isc_mem_stats(mem, stdout); + isc_mem_destroy(&mem); isc_app_finish();