CLEANUP: hlua: Remove dead-code on error path in hlua_socket_new()
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 17 Oct 2023 05:43:53 +0000 (07:43 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 17 Oct 2023 16:11:04 +0000 (18:11 +0200)
commit2f9db80cc66f71e50a957bacfc74118cbd8e0963
tree09ca6910cc165b554d684f1947634eb0c1ac1744
parent4070e4042a1fbe64fa820992c63af7284735e854
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.
src/hlua.c