From 66a9bad1a73bc33c4c5a9a00de8dc8ad35bdfaf1 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 19 Apr 2018 15:13:25 +0200 Subject: [PATCH] uci: fix memory leak in rpc_uci_apply_timeout() Signed-off-by: Jo-Philipp Wich --- uci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uci.c b/uci.c index 35332d8..49c2336 100644 --- a/uci.c +++ b/uci.c @@ -1373,6 +1373,8 @@ rpc_uci_apply_timeout(struct uloop_timeout *t) return; rpc_uci_do_rollback(apply_ctx, &gl); + + globfree(&gl); } static int -- 2.25.1