freebsd-nq/sys/contrib
Mariusz Zaborski c696dd0687 Because nvp wasn't initialized on every loop iteration once we jumped
to 'fail' on error it was treated as success, because nvp!=NULL. Fix this
by not handling success under 'fail' label and by using separate variable
for parent nvpair.

If we succeeded to allocate nvlist, but failed to allocated nvpair we
would leak nvls[ii] on return. Destroy it when we cannot allocate nvpair,
before we goto fail.

Submitted by:	pjd@ and oshogbo@ (minor changes)
Found by:       scan-build
MFC after:	1 month
Sponsored by:	Wheel Systems
2017-09-21 10:10:42 +00:00
..
alpine-hal Update Annapurna Alpine HAL 2016-09-20 09:19:22 +00:00
ck Import CK as of commit 6b141c0bdd21ce8b3e14147af8f87f22b20ecf32 2017-04-09 21:02:05 +00:00
cloudabi Merge pipes and socket pairs. 2017-09-05 07:46:45 +00:00
dev The diff is the initial submission of Cavium Liquidio 2350/2360 10/25G 2017-09-12 23:36:58 +00:00
edk2 Copy needed include files from EDK2. This is a minimal set gleened 2017-03-08 02:47:59 +00:00
ena-com Merge ena-com 1.1.4.2 2017-08-01 11:00:04 +00:00
ipfilter/netinet Don't use an apostrophe in a possesive pronoun. 2017-09-18 19:16:41 +00:00
libfdt
libnv Because nvp wasn't initialized on every loop iteration once we jumped 2017-09-21 10:10:42 +00:00
ncsw Simplify the page tracking for VA<->PA translations. 2016-11-16 05:24:42 +00:00
ngatm
octeon-sdk octeon sdk: initialize variable to quiet Clang warning 2017-09-14 16:41:22 +00:00
rdma/krping Avoid including list.h in LinuxKPI headers. 2017-06-18 16:43:57 +00:00
v4l
vchiq/interface Remove unneeded include of vm_phys.h. 2017-04-17 16:51:04 +00:00
x86emu Optimize ROL and ROR emulations and fix comments. 2016-02-18 23:03:37 +00:00
xz-embedded