2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Add isc_refcount_destroy() call to nm_handle_free()

This commit is contained in:
Ondřej Surý
2019-12-10 11:09:56 +01:00
parent 71fe7d3c25
commit 1fa0deb4ea

View File

@@ -1022,6 +1022,8 @@ static void
nmhandle_free(isc_nmsocket_t *sock, isc_nmhandle_t *handle) {
size_t extra = sock->extrahandlesize;
isc_refcount_destroy(&handle->references);
if (handle->dofree != NULL) {
handle->dofree(handle->opaque);
}