[dovecot-cvs] dovecot/src/login-common main.c,1.33.2.6,1.33.2.7

tss at dovecot.org tss at dovecot.org
Wed Jan 3 23:49:25 UTC 2007


Update of /var/lib/cvs/dovecot/src/login-common
In directory talvi:/tmp/cvs-serv6590

Modified Files:
      Tag: branch_1_0
	main.c 
Log Message:
Potential crashfix


Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/login-common/main.c,v
retrieving revision 1.33.2.6
retrieving revision 1.33.2.7
diff -u -d -r1.33.2.6 -r1.33.2.7
--- main.c	3 Jan 2007 22:59:52 -0000	1.33.2.6
+++ main.c	3 Jan 2007 23:49:23 -0000	1.33.2.7
@@ -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);
 	}
 }
 



More information about the dovecot-cvs mailing list