linux-imx/sound/soc/intel/skylake
Kamil Duljas ab10ac2621 ASoC: Intel: Skylake: mem leak in skl register function
[ Upstream commit f8ba14b780 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-20 11:51:39 +01:00
..
bxt-sst.c
cnl-sst-dsp.c
cnl-sst-dsp.h
cnl-sst.c
Makefile ASoC: Intel: Skylake: Compile when any configuration is selected 2021-03-10 13:07:21 +00:00
skl-debug.c
skl-i2s.h
skl-messages.c ASoC: Intel: Skylake: Convert to PCI device IDs defines 2023-07-18 14:22:23 +02:00
skl-nhlt.c ASoC: Intel: skylake: Replace sprintf() with sysfs_emit() 2022-08-15 01:19:48 +01:00
skl-pcm.c ASoC: Intel: Skylake: mem leak in skl register function 2024-01-20 11:51:39 +01:00
skl-ssp-clk.c ASoC: Intel: skl-ssp-clk: Convert to platform remove callback returning void 2023-03-20 13:08:34 +00:00
skl-ssp-clk.h
skl-sst-cldma.c ASoC: Intel: Skylake: Use SG allocation for SKL-based firmware load 2022-12-07 14:19:05 +00:00
skl-sst-cldma.h
skl-sst-dsp.c
skl-sst-dsp.h
skl-sst-ipc.c ASoC: Intel: Skylake: Fix mem leak in few functions 2024-01-20 11:51:39 +01:00
skl-sst-ipc.h
skl-sst-utils.c ASoC: Intel: Skylake: Fix mem leak when parsing UUIDs fails 2023-11-20 11:59:22 +01:00
skl-sst.c
skl-topology.c ASoC: intel: use helper function 2023-01-31 11:05:01 +00:00
skl-topology.h ASoC: Intel: Skylake: Fix struct definition 2023-02-14 13:25:19 +00:00
skl.c ASoC: Intel: Skylake: Convert to PCI device IDs defines 2023-07-18 14:22:23 +02:00
skl.h ASoC: Intel: Skylake: Use NHLT API to search for blob 2021-11-30 16:49:34 +01:00