commit | 6793a3d70676c6f3d2ec0ce4e1e241617541702c | [log] [tgz] |
---|---|---|
author | Subhransu S. Prusty <subhransu.s.prusty@intel.com> | Wed Feb 17 21:33:59 2016 +0530 |
committer | Mark Brown <broonie@kernel.org> | Sat Feb 20 00:56:53 2016 +0900 |
tree | eb9d4feb9c90fef1cda112fe65adf8f2b7a6c4b5 | |
parent | cd890ade492784ae06dadd20e688ba1760d3c801 [diff] |
ASoC: hdac_hdmi: Fix possible memory leak in hw_params It's possible for hw_params to be called two times. So add NULL check to prevent memory leak. Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>