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)
Mon, Dec 29, 4:28 PM
Unknown Object (File)
Fri, Dec 12, 1:50 AM
Unknown Object (File)
Tue, Dec 9, 2:45 PM
Unknown Object (File)
Nov 29 2025, 4:34 AM
Unknown Object (File)
Nov 26 2025, 4:51 AM
Unknown Object (File)
Nov 16 2025, 8:58 AM
Unknown Object (File)
Nov 12 2025, 12:54 AM
Unknown Object (File)
Nov 7 2025, 7:58 AM
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