Re: [OpenWrt-Devel] [firewall3] utils: coverity resource leak warning

2019-06-12 Thread Jo-Philipp Wich
Hi Kevin, ACK. Feel free to push. ~ Jo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [firewall3] utils: coverity resource leak warning

2019-06-12 Thread Kevin Darbyshire-Bryant
solve coverity reported resource leak (socket handle) Signed-off-by: Kevin Darbyshire-Bryant --- utils.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/utils.c b/utils.c index 7f09787..fc6bbd7 100644 --- a/utils.c +++ b/utils.c @@ -944,18 +944,24 @@ bool