exynos-linux-stable/sound/soc/intel
Pankaj Bharadiya 03a48dc965 ASoC: Intel: Skylake: Fix uuid_module memory leak in failure case
[ Upstream commit f8e066521192c7debe59127d90abbe2773577e25 ]

In the loop that adds the uuid_module to the uuid_list list, allocated
memory is not properly freed in the error path free uuid_list whenever
any of the memory allocation in the loop fails to avoid memory leak.

Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-20 10:07:27 +01:00
..
atom ASoC: Intel: Baytrail: add quirk for Lenovo Thinkpad 10 2017-04-12 12:41:20 +02:00
baytrail kthread: kthread worker API cleanup 2016-10-11 15:06:33 -07:00
boards ASoC: Intel: boards: remove .pm_ops in all Atom/DPCM machine drivers 2017-11-08 10:08:36 +01:00
common treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
haswell kthread: kthread worker API cleanup 2016-10-11 15:06:33 -07:00
skylake ASoC: Intel: Skylake: Fix uuid_module memory leak in failure case 2017-12-20 10:07:27 +01:00
Kconfig ASoC: Intel: select DW_DMAC_CORE since it's mandatory 2017-04-21 09:31:23 +02:00
Makefile ASoC: Intel: Add makefile support for SKL driver 2015-07-09 11:54:26 +01:00