projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33e6e16
)
free_csp_resources(): Destroy csp->https_headers
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 1 Mar 2020 15:40:01 +0000
(16:40 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 1 Mar 2020 16:44:30 +0000
(17:44 +0100)
Fixes a memory leak.
Sponsored by: Robert Klemme
loaders.c
patch
|
blob
|
history
diff --git
a/loaders.c
b/loaders.c
index
1afb197
..
ef4e57d
100644
(file)
--- 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);