Fix a resource leak when using strdup(3) and also fix few style(9).
authorMarcelo Araujo <araujo@FreeBSD.org>
Thu, 16 Aug 2018 06:38:01 +0000 (06:38 +0000)
committerMarcelo Araujo <araujo@FreeBSD.org>
Thu, 16 Aug 2018 06:38:01 +0000 (06:38 +0000)
commitec89307fb183c79645ab9e0fd54be6c0cc4907ff
tree83947bc58aba150fcb5ad9e3ffa5a1d5c72be148
parent3955e1c03a83f9d10e415e19a40219e60a15322c
Fix a resource leak when using strdup(3) and also fix few style(9).

Reported by: Coverity
CID: 1394929
MFC after: 1 week
Sponsored by: iXsystems Inc.
usr.sbin/bhyve/pci_nvme.c