]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
login: Fixed a memory leak when SSL client connection was closed uncleanly.
authorTimo Sirainen <tss@iki.fi>
Thu, 17 Nov 2011 00:02:30 +0000 (02:02 +0200)
committerTimo Sirainen <tss@iki.fi>
Thu, 17 Nov 2011 00:02:30 +0000 (02:02 +0200)
src/login-common/ssl-proxy-openssl.c

index 982b2819f2567b4455e70f8abe8c00335dc5ae52..389b50d4c059873deec6d306456949a5afdc9879 100644 (file)
@@ -763,6 +763,7 @@ static void ssl_proxy_unref(struct ssl_proxy *proxy)
 
        if (proxy->client != NULL)
                client_unref(&proxy->client);
+       i_free(proxy->last_error);
        i_free(proxy);
 }