mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-01 19:20:59 +02:00
CLEANUP: hlua: Remove dead-code on error path in hlua_socket_new()
Since last fixes about the lua cosocket, the appctx is no longer initialized in hlua_socket_new(). The code to deal with error at this stage can be removed. This patch should fix the issue #2308.
This commit is contained in:
parent
4070e4042a
commit
2f9db80cc6
@ -3396,8 +3396,6 @@ __LJMP static int hlua_socket_new(lua_State *L)
|
||||
xref_create(&socket->xref, &ctx->xref);
|
||||
return 1;
|
||||
|
||||
out_fail_appctx:
|
||||
appctx_free_on_early_error(appctx);
|
||||
out_fail_conf:
|
||||
WILL_LJMP(lua_error(L));
|
||||
return 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user