dovecot-2.1: login: Fixed a memory leak when SSL client connecti...

dovecot at dovecot.org dovecot at dovecot.org
Thu Nov 17 02:03:17 EET 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/81eff56d8bc1
changeset: 13720:81eff56d8bc1
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Nov 17 02:02:30 2011 +0200
description:
login: Fixed a memory leak when SSL client connection was closed uncleanly.

diffstat:

 src/login-common/ssl-proxy-openssl.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r c4ecdea00e4d -r 81eff56d8bc1 src/login-common/ssl-proxy-openssl.c
--- a/src/login-common/ssl-proxy-openssl.c	Thu Nov 17 00:49:30 2011 +0200
+++ b/src/login-common/ssl-proxy-openssl.c	Thu Nov 17 02:02:30 2011 +0200
@@ -763,6 +763,7 @@
 
 	if (proxy->client != NULL)
 		client_unref(&proxy->client);
+	i_free(proxy->last_error);
 	i_free(proxy);
 }
 


More information about the dovecot-cvs mailing list