summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2005-05-18 10:00:26 +0000
committerNeal H. Walfield <neal@gnu.org>2005-05-18 10:00:26 +0000
commite0dc9e1e71bf0a8ea96f517dc8f5dbf05aca2b94 (patch)
tree5fde8920a3b28a0700e2e20a809c387522461f96
parent53b39929031e5ced105c67eac45e6f2bccc6f665 (diff)
pflocal/
2005-05-17 Neal H. Walfield <neal@gnu.org> * sock.c (sock_free): Don't destroy SOCK->CONNECT_QUEUE.
-rw-r--r--pflocal/ChangeLog4
-rw-r--r--pflocal/sock.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/pflocal/ChangeLog b/pflocal/ChangeLog
index 4ceef902..f12686c0 100644
--- a/pflocal/ChangeLog
+++ b/pflocal/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-17 Neal H. Walfield <neal@gnu.org>
+
+ * sock.c (sock_free): Don't destroy SOCK->CONNECT_QUEUE.
+
2002-06-08 Roland McGrath <roland@frob.com>
* io.c (S_io_identity): Use ino_t for FILENO.
diff --git a/pflocal/sock.c b/pflocal/sock.c
index 11c72842..292e4290 100644
--- a/pflocal/sock.c
+++ b/pflocal/sock.c
@@ -1,6 +1,6 @@
/* Sock functions
- Copyright (C) 1995,96,2000,01,02 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,2000,01,02, 2005 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.org>
This program is free software; you can redistribute it and/or
@@ -138,8 +138,6 @@ sock_free (struct sock *sock)
mach_port_destroy (mach_task_self (), sock->id);
if (sock->listen_queue)
connq_destroy (sock->listen_queue);
- if (sock->connect_queue)
- connq_destroy (sock->connect_queue);
free (sock);
}