sys: fix memory leak in packagelist

Fixes commit 4e483312b0.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2017-11-12 21:41:05 +01:00
parent 4e483312b0
commit a0231be8fb

1
sys.c
View file

@ -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;