ASoC: Intel: Skylake: Fix memory leak during init instance
authorMousumi Jana <mousumix.jana@intel.com>
Thu, 28 Apr 2016 13:15:26 +0000 (18:45 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 2 May 2016 11:02:17 +0000 (12:02 +0100)
commit76222d6dd2e64c895735ab271ecc8b0df568981d
treeac40d721fe247ed9f57ad117698c24d322d7e200
parent95536d8c29985167e745ff0d8c7cd7dcf4318e6b
ASoC: Intel: Skylake: Fix memory leak during init instance

param_data variable is allocated during set module format of init
instance is not getting freed and hence can cause a memory leak.
So free it up.

Signed-off-by: Mousumi Jana <mousumix.jana@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-messages.c