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)
May 6 2026, 10:02 PM
Unknown Object (File)
May 6 2026, 5:35 AM
Unknown Object (File)
May 5 2026, 11:56 PM
Unknown Object (File)
May 3 2026, 11:50 PM
Unknown Object (File)
Apr 28 2026, 2:19 PM
Unknown Object (File)
Apr 27 2026, 9:37 AM
Unknown Object (File)
Apr 23 2026, 10:06 AM
Unknown Object (File)
Apr 19 2026, 4:21 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