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:
Christopher Faulet 2023-10-17 07:43:53 +02:00
parent 4070e4042a
commit 2f9db80cc6

View file

@ -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;