From a0231be8fbc61bb97e725eb206fc9b1ce9f69c05 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sun, 12 Nov 2017 21:41:05 +0100 Subject: [PATCH] sys: fix memory leak in packagelist Fixes commit 4e483312b0. Signed-off-by: Daniel Golle --- sys.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.25.1