diff options
Diffstat (limited to 'src/udp.c')
-rw-r--r-- | src/udp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -339,6 +339,9 @@ void udp_detach(struct socket *so) { so->slirp->cb->unregister_poll_fd(so->s, so->slirp->opaque); closesocket(so->s); + if (so->s_aux != -1) { + closesocket(so->s_aux); + } sofree(so); } |