Skip to content
Unverified Commit f8ba14b7 authored by Kamil Duljas's avatar Kamil Duljas Committed by Mark Brown
Browse files

ASoC: Intel: Skylake: mem leak in skl register function



skl_platform_register() uses krealloc. When krealloc is fail,
then previous memory is not freed. The leak is also when soc
component registration failed.

Signed-off-by: default avatarKamil Duljas <kamil.duljas@gmail.com>
Reviewed-by: default avatarAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20231116224112.2209-2-kamil.duljas@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 31e721fb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment