diff options
author | Kamil Duljas <kamil.duljas@gmail.com> | 2023-11-16 23:41:13 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-11-17 12:47:51 +0000 |
commit | f8ba14b780273fd290ddf7ee0d7d7decb44cc365 (patch) | |
tree | 6ad43295ed2fdff701d63b11e5e857c56aa7179d /lib/sbitmap.c | |
parent | 31e721fbd194d5723722eaa21df1d14cee7e12b5 (diff) |
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: Kamil Duljas <kamil.duljas@gmail.com>
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20231116224112.2209-2-kamil.duljas@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/sbitmap.c')
0 files changed, 0 insertions, 0 deletions