summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/isc/unix/net.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2020-09-14 08:06:09 +0000
committerbeck <beck@openbsd.org>2020-09-14 08:06:09 +0000
commitf61643f32366a1ea3ad5552b88ef629766e76329 (patch)
tree62c7f8cbfffa9f1d40c8fc33755f881ed77adb71 /usr.bin/dig/lib/isc/unix/net.c
parentNo need to check for NULL before calling free. (diff)
downloadwireguard-openbsd-f61643f32366a1ea3ad5552b88ef629766e76329.tar.xz
wireguard-openbsd-f61643f32366a1ea3ad5552b88ef629766e76329.zip
Correctly fix double free introduced on review.
the roots for a ctx are only freed in the free function, not in the clear function, so that a ctx can be re-used with the same roots. ok tb@
Diffstat (limited to 'usr.bin/dig/lib/isc/unix/net.c')
0 files changed, 0 insertions, 0 deletions