Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
6cbd4c85
Commit
6cbd4c85
authored
Feb 22, 2021
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We might as well clean up the witness memory, when it is this easy.
Spotted by: Rasmus Villemoes
parent
a2a17a1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cache_main.c
bin/varnishd/cache/cache_main.c
+1
-1
No files found.
bin/varnishd/cache/cache_main.c
View file @
6cbd4c85
...
...
@@ -350,7 +350,7 @@ child_main(int sigmagic, size_t altstksz)
AZ
(
pthread_key_create
(
&
req_key
,
NULL
));
AZ
(
pthread_key_create
(
&
bo_key
,
NULL
));
AZ
(
pthread_key_create
(
&
witness_key
,
NULL
));
AZ
(
pthread_key_create
(
&
witness_key
,
free
));
AZ
(
pthread_key_create
(
&
name_key
,
NULL
));
THR_SetName
(
"cache-main"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment