Sudip Mukherjee 513cb31120 ASoC: fix memory leak
If dai_link is already bound then we just returned and leaked rtd and
rtd->codec_dais which were allocated by soc_new_pcm_runtime(). We do not
need this newly allocated rtd to check if dai_link is already binded. Lets
check first if it is already binded before allocating this memory.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-02-22 19:40:06 +09:00
..
2016-01-11 13:03:58 +00:00
2015-10-26 11:15:54 +09:00
2016-01-11 17:50:15 +01:00
2015-12-23 00:02:04 +00:00
2016-01-11 17:50:15 +01:00
2016-02-22 19:40:06 +09:00
2015-06-08 20:47:53 +02:00