diff options
author | Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com> | 2017-11-07 16:16:19 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-11-08 18:56:17 +0000 |
commit | f8e066521192c7debe59127d90abbe2773577e25 (patch) | |
tree | 79da77ad491a4409cba52d2a023c15cf840e0ad1 /sound/oss/vidc.h | |
parent | 0265ddd7b713bd8b68a9ec451761bcb87bbac4b3 (diff) |
ASoC: Intel: Skylake: Fix uuid_module memory leak in failure case
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>
Diffstat (limited to 'sound/oss/vidc.h')
0 files changed, 0 insertions, 0 deletions