HomeFreeBSD

bhnd: Fix a few use after frees when releasing resources

Description

bhnd: Fix a few use after frees when releasing resources

The resource list entry needs to be looked up using rman_get_* prior
to releasing the resource.

Fixes: 9dbf5b0e6876 new-bus: Remove the 'rid' and 'type' arguments from BUS_RELEASE_RESOURCE

Details

Provenance
gavinAuthored on Fri, Dec 27, 4:55 PM
jhbCommitted on Fri, Dec 27, 4:55 PM
Parents
rG2e09cef8dc6f: makefs: Fix cd9660 filename buffer maximum length
Branches
Unknown
Tags
Unknown