aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorPankaj Bharadiya <[email protected]>2017-11-07 16:16:19 +0530
committerMark Brown <[email protected]>2017-11-08 18:56:17 +0000
commitf8e066521192c7debe59127d90abbe2773577e25 (patch)
tree79da77ad491a4409cba52d2a023c15cf840e0ad1 /lib/test_overflow.c
parent0265ddd7b713bd8b68a9ec451761bcb87bbac4b3 (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 <[email protected]> Signed-off-by: Guneshwor Singh <[email protected]> Acked-By: Vinod Koul <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions