[dovecot-cvs] dovecot/src/auth auth-worker-server.c,1.2,1.3

cras at dovecot.org cras at dovecot.org
Tue Jun 14 12:17:44 EEST 2005


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv27653

Modified Files:
	auth-worker-server.c 
Log Message:
Destroying auth workers leaked fd.



Index: auth-worker-server.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-worker-server.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- auth-worker-server.c	28 May 2005 15:14:12 -0000	1.2
+++ auth-worker-server.c	14 Jun 2005 09:17:40 -0000	1.3
@@ -110,6 +110,9 @@
 		}
 	}
 
+	if (close(conn->fd) < 0)
+		i_error("close(auth worker) failed: %m");
+
 	buffer_free(conn->requests);
 	io_remove(conn->io);
 	i_stream_unref(conn->input);



More information about the dovecot-cvs mailing list