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

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


details:   http://hg.dovecot.org/dovecot-2.0/rev/7cc727b4c269
changeset: 12984:7cc727b4c269
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 e93b1044f59e -r 7cc727b4c269 src/login-common/ssl-proxy-openssl.c
--- a/src/login-common/ssl-proxy-openssl.c	Thu Nov 17 01:00:51 2011 +0200
+++ b/src/login-common/ssl-proxy-openssl.c	Thu Nov 17 02:02:30 2011 +0200
@@ -835,6 +835,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