X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=loaders.c;h=68b4c613206d0456183d14f19456179c6535fbee;hp=65aba0acd724d355cae6c2ebcf8540e497122d18;hb=edec8370df9284c7059103aec42ae83e459546bc;hpb=2febce5d76114e1bf95bbd6ffea81567e8e6fb3f;ds=sidebyside diff --git a/loaders.c b/loaders.c index 65aba0ac..68b4c613 100644 --- a/loaders.c +++ b/loaders.c @@ -8,7 +8,7 @@ * unload files that are no longer in use. * * Copyright : Written by and Copyright (C) 2001-2014 the - * Privoxy team. http://www.privoxy.org/ + * Privoxy team. https://www.privoxy.org/ * * Based on the Internet Junkbuster originally written * by and Copyright (C) 1997 Anonymous Coders and @@ -112,7 +112,13 @@ 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); +#ifdef FEATURE_CLIENT_TAGS + destroy_list(csp->client_tags); +#endif free_current_action(csp->action); } @@ -998,6 +1004,8 @@ void unload_forward_spec(struct forward_spec *fwd) free_pattern_spec(fwd->url); freez(fwd->gateway_host); freez(fwd->forward_host); + freez(fwd->auth_username); + freez(fwd->auth_password); free(fwd); return;