1 |
/* Sock functions |
/* Sock functions |
2 |
|
|
3 |
Copyright (C) 1995,96,2000,01,02 Free Software Foundation, Inc. |
Copyright (C) 1995,96,2000,01,02, 2005 Free Software Foundation, Inc. |
4 |
Written by Miles Bader <miles@gnu.org> |
Written by Miles Bader <miles@gnu.org> |
5 |
|
|
6 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
138 |
mach_port_destroy (mach_task_self (), sock->id); |
mach_port_destroy (mach_task_self (), sock->id); |
139 |
if (sock->listen_queue) |
if (sock->listen_queue) |
140 |
connq_destroy (sock->listen_queue); |
connq_destroy (sock->listen_queue); |
|
if (sock->connect_queue) |
|
|
connq_destroy (sock->connect_queue); |
|
141 |
free (sock); |
free (sock); |
142 |
} |
} |
143 |
|
|