[dovecot-cvs] dovecot/src/imap-login client.c,1.51.2.5,1.51.2.6

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


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

Modified Files:
      Tag: branch_1_0
	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.51.2.5
retrieving revision 1.51.2.6
diff -u -d -r1.51.2.5 -r1.51.2.6
--- client.c	13 Oct 2006 23:11:03 -0000	1.51.2.5
+++ client.c	13 Oct 2006 23:52:01 -0000	1.51.2.6
@@ -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