2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

Fix a startup/shutdown crash in ns_clientmgr_create

This commit is contained in:
Witold Kręcicki 2020-10-09 21:24:03 +02:00 committed by Ondřej Surý
parent 3c00fb71db
commit f68fe9ff14

View File

@ -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);
}