mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 23:55:27 +00:00
Add isc_refcount_destroy() call to nm_handle_free()
This commit is contained in:
@@ -1022,6 +1022,8 @@ static void
|
|||||||
nmhandle_free(isc_nmsocket_t *sock, isc_nmhandle_t *handle) {
|
nmhandle_free(isc_nmsocket_t *sock, isc_nmhandle_t *handle) {
|
||||||
size_t extra = sock->extrahandlesize;
|
size_t extra = sock->extrahandlesize;
|
||||||
|
|
||||||
|
isc_refcount_destroy(&handle->references);
|
||||||
|
|
||||||
if (handle->dofree != NULL) {
|
if (handle->dofree != NULL) {
|
||||||
handle->dofree(handle->opaque);
|
handle->dofree(handle->opaque);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user