HomeFreeBSD

usr.sbin/bhyve: free leaked memory during option parsing

Description

usr.sbin/bhyve: free leaked memory during option parsing

Also update to use strsep(3) instead of strtok(3).

Most of this commit inadvertently ended up in r349914.

Coverity CID: 1357337
Approved by: markj
PR: 233038
Differential Revision: https://reviews.freebsd.org/D20918

Details

Provenance
seancAuthored on
Differential Revision
Restricted Differential Revision
Parents
rS349917: Remove a tautological test for adding a rule in the block that
Branches
Unknown
Tags
Unknown