HomeFreeBSD

Do not try to deallocate memory that wasn't allocated (you'd think that

Description

Do not try to deallocate memory that wasn't allocated (you'd think that
would be safe, but the function also tries to destroy mutexes that never
got created).

I guess this can only happen when imx_ehci_detach() is called on the
error-exit path from imx_ehci_attach(), and that path never got exercised
before today.

Details

Provenance
ianAuthored on
Parents
rS329478: MFC r319671:
Branches
Unknown
Tags
Unknown