[dovecot-cvs] dovecot/src/master ssl-init.c,1.25.2.1,1.25.2.2

cras at dovecot.org cras at dovecot.org
Mon Jun 26 11:56:29 EEST 2006


Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv8175

Modified Files:
      Tag: branch_1_0
	ssl-init.c 
Log Message:
Don't leak a file descriptor when regenerating ssl-parameters.dat



Index: ssl-init.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/ssl-init.c,v
retrieving revision 1.25.2.1
retrieving revision 1.25.2.2
diff -u -d -r1.25.2.1 -r1.25.2.2
--- ssl-init.c	17 Jun 2006 16:26:53 -0000	1.25.2.1
+++ ssl-init.c	26 Jun 2006 08:56:26 -0000	1.25.2.2
@@ -46,6 +46,7 @@
 		i_assert(generating_path == NULL);
 		generating_path = i_strdup(fname);
 		PID_ADD_PROCESS_TYPE(pid, PROCESS_TYPE_SSL_PARAM);
+		(void)close(log_fd);
 		return;
 	}
 



More information about the dovecot-cvs mailing list