mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-02 19:59:28 -05:00
Fix heap corruption when calling ub_ctx_delete in Windows (#1157)
This commit is contained in:
parent
d34fb3ed77
commit
1c24cd79cc
1 changed files with 4 additions and 1 deletions
|
|
@ -584,7 +584,10 @@ void tube_close_write(struct tube* ATTR_UNUSED(tube))
|
|||
void tube_remove_bg_listen(struct tube* tube)
|
||||
{
|
||||
verbose(VERB_ALGO, "tube remove_bg_listen");
|
||||
ub_winsock_unregister_wsaevent(tube->ev_listen);
|
||||
if (tube->ev_listen != NULL) {
|
||||
ub_winsock_unregister_wsaevent(tube->ev_listen);
|
||||
tube->ev_listen = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
void tube_remove_bg_write(struct tube* tube)
|
||||
|
|
|
|||
Loading…
Reference in a new issue