freebsd-dev/sys/cddl/contrib/opensolaris/uts
Mark Johnston 6368b4e471 Fix an nvpair leak in vdev_geom_read_config().
Also change the behaviour slightly: instead of freeing "config" if the
last nvlist doesn't pass the tests, return the last config that did pass
those tests.  This matches the comment at the beginning of the function.

PR:		230704
Diagnosed by:	avg
Reviewed by:	asomers, avg
Tested by:	Mark Martinec <Mark.Martinec@ijs.si>
Approved by:	re (gjb)
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential revision:  https://reviews.freebsd.org/D17202
2018-09-17 16:16:57 +00:00
..
aarch64
arm
common Fix an nvpair leak in vdev_geom_read_config(). 2018-09-17 16:16:57 +00:00
intel Remove very old and unused signal information codes. 2018-03-27 20:57:51 +00:00
mips
powerpc Correct initialization of pc on powerpc. 2017-12-12 20:41:11 +00:00
riscv