HomeFreeBSD

sound: Fix memory leak in chn_init()

Description

sound: Fix memory leak in chn_init()

In case chn_init() fails, we are leaking memory by not freeing the
feeder.

Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Reviewed by: dev_submerge.ch, markj
Differential Revision: https://reviews.freebsd.org/D45979

Details

Provenance
christosAuthored on Jul 27 2024, 11:55 AM
Reviewer
dev_submerge.ch
Differential Revision
D45979: sound: Fix memory leak in chn_init()
Parents
rG94a86f3f6920: mixer(8): Add tests
Branches
Unknown
Tags
Unknown