projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04a8c84
)
free_csp_resources(): Destroy csp->client_tags
author
Fabian Keil
<fk@fabiankeil.de>
Mon, 2 Mar 2020 12:05:13 +0000
(13:05 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 2 Mar 2020 17:44:58 +0000
(18:44 +0100)
Fixes a memory leak when client tags are active.
Sponsored by: Robert Klemme
loaders.c
patch
|
blob
|
history
diff --git
a/loaders.c
b/loaders.c
index
ef4e57d
..
68b4c61
100644
(file)
--- a/
loaders.c
+++ b/
loaders.c
@@
-116,6
+116,9
@@
void free_csp_resources(struct client_state *csp)
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);
}