[dovecot-cvs] dovecot/src/imap-login client.c, 1.58, 1.59 imap-proxy.c, 1.11, 1.12
tss at dovecot.org
tss at dovecot.org
Tue Nov 7 15:19:36 UTC 2006
Update of /var/lib/cvs/dovecot/src/imap-login
In directory talvi:/tmp/cvs-serv19678/imap-login
Modified Files:
client.c imap-proxy.c
Log Message:
Memory leak fix
Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap-login/client.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- client.c 7 Nov 2006 15:06:23 -0000 1.58
+++ client.c 7 Nov 2006 15:19:34 -0000 1.59
@@ -499,9 +499,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: imap-proxy.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap-login/imap-proxy.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- imap-proxy.c 7 Nov 2006 15:06:23 -0000 1.11
+++ imap-proxy.c 7 Nov 2006 15:19:34 -0000 1.12
@@ -142,7 +142,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