Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 54e8e21e authored by Daniel THOMPSON's avatar Daniel THOMPSON Committed by Jaroslav Kysela
Browse files

sound: Fix esoteric double free in the dummy sound driver.



The dummy driver uses runtime->private_free but still frees
its pcm structures on error paths.

This is esoteric because the error paths in question are
unreachable. Thus the bug is only a problem when someone
copies this code into other drivers.

Signed-off-by: default avatarDaniel R Thompson <daniel.thompson@st.com>
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent 8daaaa97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment