From: Jo-Philipp Wich Date: Thu, 19 Apr 2018 13:13:25 +0000 (+0200) Subject: uci: fix memory leak in rpc_uci_apply_timeout() X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=66a9bad1a73bc33c4c5a9a00de8dc8ad35bdfaf1;p=oweals%2Frpcd.git uci: fix memory leak in rpc_uci_apply_timeout() Signed-off-by: Jo-Philipp Wich --- 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