summaryrefslogtreecommitdiffstats
path: root/sound/drivers/pcsp/pcsp_mixer.c
diff options
context:
space:
mode:
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>2017-11-07 16:16:26 +0530
committerMark Brown <broonie@kernel.org>2017-11-08 18:58:29 +0000
commit1c0a7de226660b0306b54aaf2cb52312e74723eb (patch)
tree2e5bd193f4e2b9005b56a7445875504dc71b6993 /sound/drivers/pcsp/pcsp_mixer.c
parenteb50fa1739a63cc4b202b40a62d71055a2d7b80c (diff)
downloadlinux-1c0a7de226660b0306b54aaf2cb52312e74723eb.tar.bz2
ASoC: hdac_hdmi: Fix possible memory leak on parse and map nid failure
During failure, widgets in cvt_list and pin_list are not freed. So fix the possible memory leak by freeing them when failure occurs. Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@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/drivers/pcsp/pcsp_mixer.c')
0 files changed, 0 insertions, 0 deletions