projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4070e40
)
CLEANUP: hlua: Remove dead-code on error path in hlua_socket_new()
author
Christopher Faulet
<cfaulet@haproxy.com>
Tue, 17 Oct 2023 05:43:53 +0000
(07:43 +0200)
committer
Christopher Faulet
<cfaulet@haproxy.com>
Tue, 17 Oct 2023 16:11:04 +0000
(18:11 +0200)
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
patch
|
blob
|
history
diff --git
a/src/hlua.c
b/src/hlua.c
index
c686f22
..
dea4227
100644
(file)
--- a/
src/hlua.c
+++ b/
src/hlua.c
@@
-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;