Fix resource leak, variables cp, xopts and nopt going out of scope.
authorMarcelo Araujo <araujo@FreeBSD.org>
Fri, 2 Nov 2018 07:57:28 +0000 (07:57 +0000)
committerMarcelo Araujo <araujo@FreeBSD.org>
Fri, 2 Nov 2018 07:57:28 +0000 (07:57 +0000)
commitea2c655dd9f56ffe7c12e1bac0e4498f630f60ed
treef4eafba23b51ea3afa3a1ea75340319d7ea1fbb2
parentf5a7a8cd67f9a6385866dd19b614d53438aa363f
Fix resource leak, variables cp, xopts and nopt going out of scope.

Reported by: Coverity
CID: 1305412
Sponsored by: iXsystems Inc.
usr.sbin/bhyve/block_if.c