<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><pre>
HI, all
this is a patch try to fix libubus-lua's memory leak problem
Best regards
Signed-off-by:Chen Bin <ewolfok@126.com>
---
--- a/lua/ubus.c
+++ b/lua/ubus.c
@@ -666,6 +666,7 @@ ubus_lua__gc(lua_State *L)
{
struct ubus_lua_connection *c = luaL_checkudata(L, 1, METANAME);
+ blob_buf_free(&c->buf);
if (c->ctx != NULL)
{
ubus_free(c->ctx);
</pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>