<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><pre style="width: 1146.640625px; line-height: 23.7999992370605px;">HI, all
this is another patch to fix libubus's lua memory leak problem (lua stack corrupted)
Best regards
Signed-off-by:Chen Bin <<a href="mailto:ewolfok@126.com" style="color: rgb(19, 129, 68);">ewolfok@126.com</a>>
---
--- a/lua/ubus.c
+++ b/lua/ubus.c
@@ -302,8 +302,9 @@ ubus_method_handler(struct ubus_context
lua_call(state, 2, 1);
if (lua_isnumber(state, -1))
rv = lua_tonumber(state, -1);
- } else
- lua_pop(state, 1);
+ }
+
+ lua_pop(state, 1);
return rv;
}</pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>