From: Fabian Keil Date: Tue, 10 Mar 2020 14:06:38 +0000 (+0100) Subject: Add a missing call to close_client_ssl_connection() X-Git-Tag: v_3_0_29~439 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=59d02589fcf000cef70e63b7cb101b3f43c6bf23 Add a missing call to close_client_ssl_connection() ... to fix a memory leak. Sponsored by: Robert Klemme --- diff --git a/jcc.c b/jcc.c index 99c423c5..614c7f18 100644 --- a/jcc.c +++ b/jcc.c @@ -3776,6 +3776,9 @@ static void chat(struct client_state *csp) * client body in the buffer (if there is one) and to * continue parsing the bytes that follow. */ +#ifdef FEATURE_HTTPS_INSPECTION + close_client_ssl_connection(csp); +#endif drain_and_close_socket(csp->cfd); csp->cfd = JB_INVALID_SOCKET;