HomeFreeBSD

bhyve: avoid resource leak

Description

bhyve: avoid resource leak

In bhyve_parse_config_option(), a string is allocated and passed to
nvlist_add_string() but not free'd afterwards.

Reported by: Coverity
CID: 1544049
Sponsored by: The FreeBSD Foundation

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1234

Details

Provenance
khorben_defora.orgAuthored on Mon, May 13, 5:26 PM
impCommitted on Thu, May 16, 5:19 PM
Parents
rG304a03275a65: sys/modules/dpdk_lpm4: do not build without INET
Branches
Unknown
Tags
Unknown