From: Fabian Keil Date: Thu, 7 Jan 2021 14:30:59 +0000 (+0100) Subject: change_encrypted_request_destination(): Plug a memory leak if the rewritten request... X-Git-Tag: v_3_0_30~138 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=db72b72119d1c7cdf17ffca8a21504ed03e36e90;p=privoxy.git change_encrypted_request_destination(): Plug a memory leak if the rewritten request line is invalid --- diff --git a/jcc.c b/jcc.c index 75459e8e..930c2991 100644 --- a/jcc.c +++ b/jcc.c @@ -2566,6 +2566,7 @@ static jb_err change_encrypted_request_destination(struct client_state *csp) { log_error(LOG_LEVEL_ERROR, "Couldn't parse rewritten request: %s.", jb_err_to_string(err)); + freez(original_host); return err; }