]> git.ipfire.org Git - thirdparty/ipset.git/commit
xlate: Fix for fd leak in error path
authorPhil Sutter <phil@nwl.cc>
Wed, 22 Feb 2023 16:30:20 +0000 (17:30 +0100)
committerPhil Sutter <phil@nwl.cc>
Fri, 10 Mar 2023 12:16:51 +0000 (13:16 +0100)
commit37f187b1b89a9f40688d9f3b209d6f4df5167c43
treefa6c11f1af19781cb74931c1352334212ef026b3
parente55645ac6411a0e0596ce5f206f1d57f1eaba45c
xlate: Fix for fd leak in error path

A rather cosmetic issue though, the program will terminate anyway.

Fixes: 325af556cd3a6 ("add ipset to nftables translation infrastructure")
Signed-off-by: Phil Sutter <phil@nwl.cc>
lib/ipset.c