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

(cherry picked from commit c22be0b181e954a4cc00ed4f5c7df974f3061c3c)

Details

Provenance
markjAuthored on Wed, Oct 23, 4:55 PM
Reviewer
christos
Differential Revision
D47266: mixer: Fix a bogus free() call in the main loop
Parents
rG90d8c39d22e0: x86 specialreg: add bit masks definitions for LASS and LAM features
Branches
Unknown
Tags
Unknown