ASoC: Intel: Skylake: Fix memory leak
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 21 Jan 2016 11:57:59 +0000 (17:27 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 22 Jan 2016 16:42:03 +0000 (16:42 +0000)
commitc14a82c781f8df50c4c5215ab92affdc60d72c01
tree8b6d1d3773e1bfac45187539d668a8e2168cb1d7
parent822ad70a2f5c420da5baa9f4354e6b7813ca6da9
ASoC: Intel: Skylake: Fix memory leak

If snd_soc_tplg_component_load() fails we just printed an error message
and returned the error code but we missed releasing the firmware.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.c