free_csp_resources(): Destroy csp->client_tags
[privoxy.git] / loaders.c
index 1afb197..68b4c61 100644 (file)
--- a/loaders.c
+++ b/loaders.c
@@ -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);
 }