[dovecot-cvs] dovecot/src/master ssl-init.c,1.26,1.27

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


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

Modified Files:
	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.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- ssl-init.c	17 Jun 2006 16:26:56 -0000	1.26
+++ ssl-init.c	26 Jun 2006 08:56:28 -0000	1.27
@@ -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