mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
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.
This commit is contained in:
parent
fa463afa8f
commit
9e3c8d5512
@ -3219,9 +3219,6 @@ static struct appctx *peer_session_create(struct peers *peers, struct peer *peer
|
||||
appctx_wakeup(appctx);
|
||||
return appctx;
|
||||
|
||||
/* Error unrolling */
|
||||
out_free_appctx:
|
||||
appctx_free_on_early_error(appctx);
|
||||
out_close:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user