HomeFreeBSD

mixer: Fix a bogus free() call in the main loop

Description

mixer: Fix a bogus free() call in the main loop

After a strsep() call, p might not point at the original allocation
anymore.

Reported by: CHERI
Reviewed by: christos
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D47266

Details

Provenance
markjAuthored on Oct 23 2024, 4:55 PM
Reviewer
christos
Differential Revision
D47266: mixer: Fix a bogus free() call in the main loop
Parents
rG9b2f2fbfcbc5: devmatch: Catch truncated linker hints files
Branches
Unknown
Tags
Unknown