HomeFreeBSD

Fix memory leaks in (a|)daregister introduced in r298002

Description

Fix memory leaks in (a|)daregister introduced in r298002

In the case where cam_iosched_init() fails, the ada and da softcs were leaked.
Instead, free them.

Reported by: Coverity
CID: 1356039
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
cemAuthored on
Parents
rS301567: iflib: Improve cleanup on iflib_queues_alloc error path
Branches
Unknown
Tags
Unknown