ASoC: dapm: fix memory leak
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 10 Sep 2015 12:31:44 +0000 (18:01 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 11 Sep 2015 11:15:52 +0000 (12:15 +0100)
commit75881df3fd7708f234c1e2573ade812eb5701708
treecd95d0edbe47643908204814b74e9ef7aaad86b5
parent91931320cfbbcc1dd874c2d0aef62e7d90f07f70
ASoC: dapm: fix memory leak

Incase of an unknown event we were directly returning but we missed
freeing params.

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