mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04: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
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Reference in a new issue