mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Avoid leaking pending events in nsock_pool_delete
This commit is contained in:
parent
63c4bb589f
commit
7baee8efa9
1 changed files with 1 additions and 0 deletions
|
|
@ -228,6 +228,7 @@ void nsock_pool_delete(nsock_pool ms_pool) {
|
|||
assert(nse->iod->events_pending >= 0);
|
||||
}
|
||||
event_delete(nsp, nse);
|
||||
gh_list_append(&nsp->free_events, &nse->nodeq_io);
|
||||
}
|
||||
gh_list_free(event_lists[i]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue