From 47de570ed19b05a1b9c353c5417904bf8b865969 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 27 Nov 2006 02:53:05 +0000 Subject: Plug a tiny memory leak when recovering from TLS-related socket errors. svn path=/branches/BRANCH_6-3/; revision=4969 --- pop3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pop3.c b/pop3.c index 961692a5..65055ac8 100644 --- a/pop3.c +++ b/pop3.c @@ -600,6 +600,7 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting) * don't! */ if (connection_may_have_tls_errors && ok == PS_SOCKET) { + xfree(ctl->sslproto); ctl->sslproto = xstrdup(""); /* repoll immediately without TLS */ ok = PS_REPOLL; -- cgit v1.2.3