[dovecot-cvs] dovecot/src/imap-login client.c,1.56,1.57

tss at dovecot.org tss at dovecot.org
Sat Oct 14 00:52:07 UTC 2006


Update of /var/lib/cvs/dovecot/src/imap-login
In directory talvi:/tmp/cvs-serv7604/imap-login

Modified Files:
	client.c 
Log Message:
Reference counting fix



Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap-login/client.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- client.c	13 Oct 2006 23:11:09 -0000	1.56
+++ client.c	13 Oct 2006 23:52:02 -0000	1.57
@@ -509,6 +509,7 @@
 	client_unref(client);
 
 	main_listen_start();
+	main_unref();
 }
 
 void client_destroy_internal_failure(struct imap_client *client)
@@ -542,7 +543,6 @@
 	i_free(client->common.auth_mech_name);
 	i_free(client);
 
-	main_unref();
 	return FALSE;
 }
 



More information about the dovecot-cvs mailing list