diff options
author | Ekansh Gupta <[email protected]> | 2024-06-28 12:44:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-07-03 16:17:53 +0200 |
commit | ad0bd973a033003ca578c42a760d1dc77aeea15e (patch) | |
tree | 9acfbb786564e490fd6fa184ad45d75bd543cc6e /scripts/generate_rust_analyzer.py | |
parent | bfb6b07d2a30ffe98864d8cfc31fc00470063025 (diff) |
misc: fastrpc: Fix memory leak in audio daemon attach operation
Audio PD daemon send the name as part of the init IOCTL call. This
name needs to be copied to kernel for which memory is allocated.
This memory is never freed which might result in memory leak. Free
the memory when it is not needed.
Fixes: 0871561055e6 ("misc: fastrpc: Add support for audiopd")
Cc: stable <[email protected]>
Signed-off-by: Ekansh Gupta <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions