mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 20:40:00 -04:00
Add isc_refcount_destroy() call to nm_destroy()
This commit is contained in:
parent
3248de7785
commit
71fe7d3c25
1 changed files with 2 additions and 0 deletions
|
|
@ -166,6 +166,8 @@ nm_destroy(isc_nm_t **mgr0) {
|
|||
|
||||
isc_nm_t *mgr = *mgr0;
|
||||
|
||||
isc_refcount_destroy(&mgr->references);
|
||||
|
||||
LOCK(&mgr->lock);
|
||||
mgr->magic = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue