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
6ca1aef1
Commit
6ca1aef1
authored
Oct 22, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't double-free.
Amazingly JEMALLOC didn't spot this one.
parent
a420b7fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
cache_ban_build.c
bin/varnishd/cache/cache_ban_build.c
+0
-2
No files found.
bin/varnishd/cache/cache_ban_build.c
View file @
6ca1aef1
...
...
@@ -92,8 +92,6 @@ BAN_Abandon(struct ban_proto *bp)
CHECK_OBJ_NOTNULL
(
bp
,
BAN_PROTO_MAGIC
);
VSB_delete
(
bp
->
vsb
);
if
(
bp
->
err
!=
NULL
&&
bp
->
err
!=
ban_build_err_no_mem
)
free
(
bp
->
err
);
FREE_OBJ
(
bp
);
}
...
...
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