From: Daniel Golle Date: Sun, 12 Nov 2017 20:41:05 +0000 (+0100) Subject: sys: fix memory leak in packagelist X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a0231be8fbc61bb97e725eb206fc9b1ce9f69c05;p=oweals%2Frpcd.git sys: fix memory leak in packagelist Fixes commit 4e483312b0. Signed-off-by: Daniel Golle --- diff --git a/sys.c b/sys.c index 4f008ba..40f49ca 100644 --- a/sys.c +++ b/sys.c @@ -226,6 +226,7 @@ procstr: blobmsg_close_table(&buf, tbl); ubus_send_reply(ctx, req, buf.head); + blob_buf_free(&buf); fclose(f); return 0;