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
5e3eb0af
Commit
5e3eb0af
authored
Apr 30, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some old dead code and a inconsequential resource leak
spotted by Coverity.
parent
5f1fab09
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
vtc_http.c
bin/varnishtest/vtc_http.c
+2
-3
No files found.
bin/varnishtest/vtc_http.c
View file @
5e3eb0af
...
...
@@ -1331,7 +1331,7 @@ int
http_process
(
struct
vtclog
*
vl
,
const
char
*
spec
,
int
sock
,
int
*
sfd
)
{
struct
http
*
hp
;
char
*
s
,
*
q
;
char
*
s
;
int
retval
;
(
void
)
sfd
;
...
...
@@ -1350,10 +1350,9 @@ http_process(struct vtclog *vl, const char *spec, int sock, int *sfd)
AN
(
hp
->
vsb
);
s
=
strdup
(
spec
);
q
=
strchr
(
s
,
'\0'
);
assert
(
q
>
s
);
AN
(
s
);
parse_string
(
s
,
http_cmds
,
hp
,
vl
);
free
(
s
);
retval
=
hp
->
fd
;
VSB_delete
(
hp
->
vsb
);
free
(
hp
->
rxbuf
);
...
...
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