commit | 9e3c8d5512f78b3e5965e2f14192965d41463659 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed May 18 08:02:37 2022 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed May 18 09:04:53 2022 +0200 |
tree | bc980d4e3e42dcc5182cb75766d4f8e15eecd64e | |
parent | fa463afa8f2fd5e4f5d72d3340a505edbd9fa069 [diff] |
CLEANUP: peers: Remove unreachable code in peer_session_create() An error label is now unreachable in peer_session_create(). This patch should fix the issue #1704.
diff --git a/src/peers.c b/src/peers.c index 6f71ded..e37b5b7 100644 --- a/src/peers.c +++ b/src/peers.c
@@ -3219,9 +3219,6 @@ appctx_wakeup(appctx); return appctx; - /* Error unrolling */ - out_free_appctx: - appctx_free_on_early_error(appctx); out_close: return NULL; }