dovecot: Don't crash at exit if auth client was already freed.
dovecot at dovecot.org
dovecot at dovecot.org
Sat Jun 30 19:01:10 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/9265c13c4103
changeset: 5845:9265c13c4103
user: Timo Sirainen <tss at iki.fi>
date: Sat Jun 30 19:01:06 2007 +0300
description:
Don't crash at exit if auth client was already freed.
diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
src/login-common/main.c | 3 ++-
diffs (13 lines):
diff -r 7efc025c7e9f -r 9265c13c4103 src/login-common/main.c
--- a/src/login-common/main.c Sat Jun 30 17:38:53 2007 +0300
+++ b/src/login-common/main.c Sat Jun 30 19:01:06 2007 +0300
@@ -57,7 +57,8 @@ void main_unref(void)
this connection's authentication was finished but the master
login wasn't, the next connection won't be able to log in
as this user by finishing the master login. */
- auth_client_reconnect(auth_client);
+ if (auth_client != NULL)
+ auth_client_reconnect(auth_client);
}
}
More information about the dovecot-cvs
mailing list