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
c0dfa2ae
Commit
c0dfa2ae
authored
Oct 22, 2015
by
Poul-Henning Kamp
Committed by
Lasse Karstensen
Jan 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't double-free.
Amazingly JEMALLOC didn't spot this one.
parent
978b5b07
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 @
c0dfa2ae
...
...
@@ -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