[dovecot-cvs] dovecot/src/pop3-login client.c,1.50.2.5,1.50.2.6

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


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

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



Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3-login/client.c,v
retrieving revision 1.50.2.5
retrieving revision 1.50.2.6
diff -u -d -r1.50.2.5 -r1.50.2.6
--- client.c	13 Oct 2006 23:11:04 -0000	1.50.2.5
+++ client.c	13 Oct 2006 23:52:02 -0000	1.50.2.6
@@ -398,6 +398,7 @@
 	client_unref(client);
 
 	main_listen_start();
+	main_unref();
 }
 
 void client_destroy_internal_failure(struct pop3_client *client)
@@ -431,7 +432,6 @@
 	i_free(client->common.auth_mech_name);
 	i_free(client);
 
-	main_unref();
 	return FALSE;
 }
 



More information about the dovecot-cvs mailing list