mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 08:35:31 +00:00
Add isc_refcount_destroy() call to nm_destroy()
This commit is contained in:
@@ -166,6 +166,8 @@ nm_destroy(isc_nm_t **mgr0) {
|
|||||||
|
|
||||||
isc_nm_t *mgr = *mgr0;
|
isc_nm_t *mgr = *mgr0;
|
||||||
|
|
||||||
|
isc_refcount_destroy(&mgr->references);
|
||||||
|
|
||||||
LOCK(&mgr->lock);
|
LOCK(&mgr->lock);
|
||||||
mgr->magic = 0;
|
mgr->magic = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user