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)
Thu, Dec 12, 6:30 AM
Unknown Object (File)
Wed, Dec 11, 7:39 PM
Unknown Object (File)
Mon, Dec 9, 6:28 AM
Unknown Object (File)
Nov 16 2024, 5:31 PM
Unknown Object (File)
Nov 16 2024, 2:39 PM
Unknown Object (File)
Nov 14 2024, 10:19 PM
Unknown Object (File)
Nov 14 2024, 5:47 AM
Unknown Object (File)
Nov 11 2024, 8:40 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