diff --git a/lib/ns/client.c b/lib/ns/client.c index da3ca14e0b..9ac75ff25d 100644 --- a/lib/ns/client.c +++ b/lib/ns/client.c @@ -2510,7 +2510,7 @@ cleanup_reclock: isc_mutex_destroy(&manager->reclock); isc_mutex_destroy(&manager->lock); - isc_mem_put(manager->mctx, manager, sizeof(*manager)); + isc_mem_put(mctx, manager, sizeof(*manager)); return (result); }