]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
{strchr,strlen}_basic: don't leak the dlopen'ed handle; close after use
authorngie <ngie@FreeBSD.org>
Wed, 4 Jan 2017 04:50:03 +0000 (04:50 +0000)
committerngie <ngie@FreeBSD.org>
Wed, 4 Jan 2017 04:50:03 +0000 (04:50 +0000)
commit833650080f9c91b3c7f69558e2f7d7c8a5ced7ef
treeae388a892bd7ac3396c698d5af09fc5dbd6b464d
parentc6a40647d880fda71f460f92ec928f5958ef3b90
{strchr,strlen}_basic: don't leak the dlopen'ed handle; close after use

MFC after: 3 days
Reported by: Coverity
CID: 978299, 978300
contrib/netbsd-tests/lib/libc/string/t_strchr.c
contrib/netbsd-tests/lib/libc/string/t_strlen.c