aboutsummaryrefslogtreecommitdiff
path: root/contrib/ntp/ntpd/(developers-only)
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2025-12-22 01:26:32 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2025-12-22 02:23:28 +0000
commit88b04633c29e3a8fd2ac88febd1aedf409ce6925 (patch)
treeca7acc6fe59db51f2817927da807e96a454aa4ca /contrib/ntp/ntpd/(developers-only)
parent129e15d4994311958db59a1718d4ff42d440ce2b (diff)
libpcap: fix resource leaks and set error messagesHEADmain
In finddevs_bpf() close the BPF device descriptor and free the device list buffer before returning. For ioctl() and malloc() errors, use pcapint_fmt_errmsg_for_errno() to generate an error message. Fix some comments. (cherry picked from commit 6870404f35da32d63a0a8789edb010842dd6b208)
Diffstat (limited to 'contrib/ntp/ntpd/(developers-only)')
0 files changed, 0 insertions, 0 deletions