In r340042 an attempt to quiet coverity warning cid 1305412 was overdone.
nopt is the only allocated space, xopt and cp are aliases into that allocated space.
Remove the 2 unneeded free's
Brought to my attention by Patrick Mooney of Joyent/illumos
Differential D19200
bhyve(8) block_if.c remove multiple freeing of nopt added in r340042 rgrimes on Feb 14 2019, 7:28 PM. Authored by Tags None Referenced Files
Subscribers
Details
In r340042 an attempt to quiet coverity warning cid 1305412 was overdone. Remove the 2 unneeded free's Brought to my attention by Patrick Mooney of Joyent/illumos Visual code inspection.
Diff Detail
Event Timeline |