diff options
author | 陈斌 <ewolfok@126.com> | 2015-05-13 13:52:22 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-05-25 23:06:19 +0200 |
commit | f361bfa5fcb2daadf3b160583ce665024f8d108e (patch) | |
tree | 07fe4a95a5973be6d28f5f86a2cfd057f5d0af88 /lua | |
parent | 2c30506a4f8434de95d9c3938857599005d0ef51 (diff) | |
download | ubus-f361bfa5fcb2daadf3b160583ce665024f8d108e.tar.gz |
lua: fix memory leak problem
Signed-off-by: Chen Bin <ewolfok@126.com>
Diffstat (limited to 'lua')
-rw-r--r-- | lua/ubus.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -681,6 +681,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); |