Page MenuHomeFreeBSD

sound: Use bus_child_deleted methods to free ivars for children
ClosedPublic

Authored by jhb on Oct 31 2024, 8:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 1, 5:22 PM
Unknown Object (File)
Feb 10 2025, 5:09 PM
Unknown Object (File)
Feb 10 2025, 8:50 AM
Unknown Object (File)
Feb 10 2025, 8:49 AM
Unknown Object (File)
Feb 8 2025, 9:08 PM
Unknown Object (File)
Feb 5 2025, 3:56 PM
Unknown Object (File)
Feb 3 2025, 2:19 PM
Unknown Object (File)
Jan 22 2025, 3:07 PM
Subscribers
None

Details

Summary

Note that hdsp and hdspe were just leaking the ivars on detach
previously.

While here, use M_WAITOK to allocate ivars since attach routines are
sleepable. hdsp and hdspe were using M_NOWAIT without checking the
return value.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable