diff options
author | ngie <ngie@FreeBSD.org> | 2016-05-22 02:53:17 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-05-22 02:53:17 +0000 |
commit | 526c7b961f0343da8ce288c1f2b3b734cec34ca4 (patch) | |
tree | abef379fcc8c254398452e932552322212fb7ad5 /lib/libc/stdio/gets.c | |
parent | fa649cf616ed2ef8ab203880cac5a6c9727db62c (diff) | |
download | FreeBSD-src-526c7b961f0343da8ce288c1f2b3b734cec34ca4.zip FreeBSD-src-526c7b961f0343da8ce288c1f2b3b734cec34ca4.tar.gz |
Call endnetconfig on nc_handle sooner to avoid leaking nc_handle if tmpnconf
was NULL
This would theoretically happen if the netconfig protocol family and protocol
semantics were never matched.
MFC after: 2 weeks
Reported by: Coverity
CID: 978179
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libc/stdio/gets.c')
0 files changed, 0 insertions, 0 deletions