sys: fix memory leak in packagelist
Fixes commit 4e483312b0
.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
4e483312b0
commit
a0231be8fb
1 changed files with 1 additions and 0 deletions
1
sys.c
1
sys.c
|
@ -226,6 +226,7 @@ procstr:
|
||||||
|
|
||||||
blobmsg_close_table(&buf, tbl);
|
blobmsg_close_table(&buf, tbl);
|
||||||
ubus_send_reply(ctx, req, buf.head);
|
ubus_send_reply(ctx, req, buf.head);
|
||||||
|
blob_buf_free(&buf);
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue