changeset 4987:7179db893d3e HEAD

Crashfix
author Timo Sirainen <tss@iki.fi>
date Thu, 04 Jan 2007 01:49:26 +0200
parents 5088f394fa72
children 12d853120b45
files src/login-common/main.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/login-common/main.c	Thu Jan 04 00:59:55 2007 +0200
+++ b/src/login-common/main.c	Thu Jan 04 01:49:26 2007 +0200
@@ -49,7 +49,8 @@
 		master_close();
 		/* we might still be proxying. close the connection to
 		   dovecot-auth, since it's not needed anymore. */
-		auth_client_free(&auth_client);
+		if (auth_client != NULL)
+			auth_client_free(&auth_client);
 	}
 }