From f68fe9ff145cbc01a75ffab75d4735a870bbab81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Witold=20Kr=C4=99cicki?= Date: Fri, 9 Oct 2020 21:24:03 +0200 Subject: [PATCH] Fix a startup/shutdown crash in ns_clientmgr_create --- lib/ns/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }