]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add isc_refcount_destroy() call to nm_destroy()
authorOndřej Surý <ondrej@isc.org>
Tue, 10 Dec 2019 09:47:08 +0000 (10:47 +0100)
committerOndřej Surý <ondrej@isc.org>
Tue, 10 Dec 2019 12:43:18 +0000 (13:43 +0100)
lib/isc/netmgr/netmgr.c

index 0c1cba4561b85f0902fcec17c5cebb47a4c8b0f8..8317bf27a76b3cca4cae4da7cf6444f2b7b9c124 100644 (file)
@@ -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;