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);
}