From: Fabian Keil Date: Sun, 1 Mar 2020 15:40:01 +0000 (+0100) Subject: free_csp_resources(): Destroy csp->https_headers X-Git-Tag: v_3_0_29~451 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=2bcb59f4bc5274e9ad2b50fbe78e8e39b3b57282 free_csp_resources(): Destroy csp->https_headers Fixes a memory leak. Sponsored by: Robert Klemme --- diff --git a/loaders.c b/loaders.c index 1afb1974..ef4e57d6 100644 --- a/loaders.c +++ b/loaders.c @@ -112,6 +112,9 @@ void free_csp_resources(struct client_state *csp) free_http_request(csp->http); destroy_list(csp->headers); +#ifdef FEATURE_HTTPS_INSPECTION + destroy_list(csp->https_headers); +#endif destroy_list(csp->tags); free_current_action(csp->action);