projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9205fea
)
CLEANUP: mux-h2: remove unused goto "out_free_h2s"
author
William Dauchy
<w.dauchy@criteo.com>
Wed, 8 Jan 2020 14:16:53 +0000
(15:16 +0100)
committer
Christopher Faulet
<cfaulet@haproxy.com>
Wed, 8 Jan 2020 15:16:19 +0000
(16:16 +0100)
Since commit
fa8aa867b915
("MEDIUM: connections: Change struct
wait_list to wait_event.") we no longer use this section.
this should fix github issue #437
Signed-off-by: William Dauchy <w.dauchy@criteo.com>
src/mux_h2.c
patch
|
blob
|
history
diff --git
a/src/mux_h2.c
b/src/mux_h2.c
index
be9dae9
..
6ec8d6c
100644
(file)
--- a/
src/mux_h2.c
+++ b/
src/mux_h2.c
@@
-1347,9
+1347,6
@@
static struct h2s *h2s_new(struct h2c *h2c, int id)
TRACE_LEAVE(H2_EV_H2S_NEW, h2c->conn, h2s);
return h2s;
-
- out_free_h2s:
- pool_free(pool_head_h2s, h2s);
out:
TRACE_DEVEL("leaving in error", H2_EV_H2S_ERR|H2_EV_H2S_END, h2c->conn);
return NULL;