[dovecot-cvs] dovecot/src/pop3-login client.c, 1.50.2.7, 1.50.2.8 pop3-proxy.c, 1.10.2.3, 1.10.2.4

tss at dovecot.org tss at dovecot.org
Tue Nov 7 15:19:32 UTC 2006


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

Modified Files:
      Tag: branch_1_0
	client.c pop3-proxy.c 
Log Message:
Memory leak fix



Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3-login/client.c,v
retrieving revision 1.50.2.7
retrieving revision 1.50.2.8
diff -u -d -r1.50.2.7 -r1.50.2.8
--- client.c	7 Nov 2006 15:06:18 -0000	1.50.2.7
+++ client.c	7 Nov 2006 15:19:30 -0000	1.50.2.8
@@ -390,9 +390,6 @@
 	if (client->proxy != NULL) {
 		login_proxy_free(client->proxy);
 		client->proxy = NULL;
-
-		i_assert(client->refcount > 1);
-		client_unref(client);
 	}
 
 	if (client->common.proxy != NULL)

Index: pop3-proxy.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3-login/pop3-proxy.c,v
retrieving revision 1.10.2.3
retrieving revision 1.10.2.4
diff -u -d -r1.10.2.3 -r1.10.2.4
--- pop3-proxy.c	7 Nov 2006 15:06:18 -0000	1.10.2.3
+++ pop3-proxy.c	7 Nov 2006 15:19:30 -0000	1.10.2.4
@@ -157,7 +157,6 @@
 		return -1;
 	}
 
-	client_ref(client);
 	client->proxy = login_proxy_new(&client->common, host, port,
 					proxy_input, client);
 	if (client->proxy == NULL)



More information about the dovecot-cvs mailing list