Page MenuHomeFreeBSD

sound: Use bus_child_deleted methods to free ivars for children
ClosedPublic

Authored by jhb on Thu, Oct 31, 8:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 10:19 PM
Unknown Object (File)
Thu, Nov 14, 5:47 AM
Unknown Object (File)
Mon, Nov 11, 8:40 AM
Unknown Object (File)
Sun, Nov 10, 3:27 PM
Unknown Object (File)
Fri, Nov 8, 9:33 PM
Unknown Object (File)
Fri, Nov 8, 6:03 AM
Unknown Object (File)
Wed, Nov 6, 11:39 PM
Unknown Object (File)
Fri, Nov 1, 11:33 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