]> git.ipfire.org Git - thirdparty/ulogd2.git/commit
ulogd: fix config file fd leak
authorCorubba Smith <corubba@gmx.de>
Sat, 8 Mar 2025 22:32:29 +0000 (23:32 +0100)
committerFlorian Westphal <fw@strlen.de>
Wed, 12 Mar 2025 08:10:01 +0000 (09:10 +0100)
commit4c2a07b55d9e8a8366a1d3f5d04a2e6b971c0475
treebdba8324d4e0918eb18750dc8af31dac67aa5465
parent33e19497f4ad88bcf08e10ac51c3ed091f60c9dc
ulogd: fix config file fd leak

Consistently use the return jump to close the config file descriptor if
opened, to prevent it from leaking.

Signed-off-by: Corubba Smith <corubba@gmx.de>
Signed-off-by: Florian Westphal <fw@strlen.de>
src/conffile.c