mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-14 00:39:59 -04:00
parent
aff3391656
commit
e98921fd8d
1 changed files with 2 additions and 2 deletions
|
|
@ -3039,7 +3039,7 @@ internal_accept(isc__socket_t *sock) {
|
|||
inc_stats(manager->stats, sock->statsindex[STATID_ACCEPT]);
|
||||
} else {
|
||||
inc_stats(manager->stats, sock->statsindex[STATID_ACCEPTFAIL]);
|
||||
isc_refcount_decrement(&NEWCONNSOCK(dev)->references);
|
||||
(void)isc_refcount_decrement(&NEWCONNSOCK(dev)->references);
|
||||
free_socket((isc__socket_t **)&dev->newsocket);
|
||||
}
|
||||
|
||||
|
|
@ -5162,7 +5162,7 @@ isc_socket_cancel(isc_socket_t *sock0, isc_task_t *task, unsigned int how) {
|
|||
ISC_LIST_UNLINK(sock->accept_list, dev,
|
||||
ev_link);
|
||||
|
||||
isc_refcount_decrement(
|
||||
(void)isc_refcount_decrement(
|
||||
&NEWCONNSOCK(dev)->references);
|
||||
free_socket((isc__socket_t **)&dev->newsocket);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue