dovecot-2.0: director: Crashfix at exit if proxy-notify fifo had...

dovecot at dovecot.org dovecot at dovecot.org
Wed May 19 17:19:59 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/16fbdcbb6dcb
changeset: 11333:16fbdcbb6dcb
user:      Timo Sirainen <tss at iki.fi>
date:      Wed May 19 16:19:56 2010 +0200
description:
director: Crashfix at exit if proxy-notify fifo hadn't been used yet.

diffstat:

 src/director/main.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r b42184927518 -r 16fbdcbb6dcb src/director/main.c
--- a/src/director/main.c	Wed May 19 15:48:20 2010 +0200
+++ b/src/director/main.c	Wed May 19 16:19:56 2010 +0200
@@ -152,7 +152,8 @@
 
 static void main_deinit(void)
 {
-	notify_connection_deinit(&notify_conn);
+	if (notify_conn != NULL)
+		notify_connection_deinit(&notify_conn);
 	director_deinit(&director);
 	doveadm_connections_deinit();
 	login_connections_deinit();


More information about the dovecot-cvs mailing list