diff options
| author | Pierre-Louis Bossart <[email protected]> | 2020-08-25 16:58:52 -0700 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-08-26 12:44:08 +0100 |
| commit | e9157a449aa3f72fdbded9ce780c666bf0951cf3 (patch) | |
| tree | 436a4744e6bc206c02c912cde25473db13636a1f /lib/mpi/mpi-bit.c | |
| parent | 76ab546cd8f0c64d4603b2faad4558c5b670561e (diff) | |
ASoC: SOF: loader: fix memory leak in get_ext_windows
sdev->info_window is allocated with kmemdup and never freed, use devm_
version since this is only used for first boot.
Fixes: 8d809c15acf23 ('ASoC: SOF: ext_manifest: parse windows')
Cc: Karol Trzcinski <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Daniel Baluta <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Reviewed-by: Guennadi Liakhovetski <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Signed-off-by: Ranjani Sridharan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions