diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2006-11-27 02:53:05 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2006-11-27 02:53:05 +0000 |
commit | 47de570ed19b05a1b9c353c5417904bf8b865969 (patch) | |
tree | e469b7c48264acf95b4ffeb253df25f084aa8381 | |
parent | d173fbd70a1460eca0066aab49893d3407e1c079 (diff) | |
download | fetchmail-47de570ed19b05a1b9c353c5417904bf8b865969.tar.gz fetchmail-47de570ed19b05a1b9c353c5417904bf8b865969.tar.bz2 fetchmail-47de570ed19b05a1b9c353c5417904bf8b865969.zip |
Plug a tiny memory leak when recovering from TLS-related socket errors.
svn path=/branches/BRANCH_6-3/; revision=4969
-rw-r--r-- | pop3.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |