The branch stable/15 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=b8d119c969861cacd81d83d112c8c1eb8e23c428
commit b8d119c969861cacd81d83d112c8c1eb8e23c428 Author: Christos Margiolis <[email protected]> AuthorDate: 2026-04-16 12:51:56 +0000 Commit: Christos Margiolis <[email protected]> CommitDate: 2026-06-03 08:23:03 +0000 sound: Do not lock before destroying snd_mixer->lock Sponsored by: The FreeBSD Foundation MFC after: 1 week Pull Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/18 (cherry picked from commit 7485519d56346909c4db595ab0342128353d5b8d) --- sys/dev/sound/pcm/mixer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/dev/sound/pcm/mixer.c b/sys/dev/sound/pcm/mixer.c index 1baeb1b23077..0001ea7b481a 100644 --- a/sys/dev/sound/pcm/mixer.c +++ b/sys/dev/sound/pcm/mixer.c @@ -650,7 +650,6 @@ mixer_obj_create(device_t dev, kobj_class_t cls, void *devinfo, } if (MIXER_INIT(m)) { - mtx_lock(&m->lock); mtx_destroy(&m->lock); kobj_delete((kobj_t)m, M_DEVBUF); return (NULL);
