Dimitris Papastamos 4f8b19143d ASoC: wm0010: Fix resource leak
If kzalloc() fails for `img' then we are going to leak the memory
for `out'.  We are freeing the memory of all the tx/rx transfers
but the tx/rx buf pointers will be NULL if we drop out earlier.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
2013-07-31 14:50:34 +01:00
..
2013-06-28 13:36:22 +02:00
2013-07-31 14:50:34 +01:00
2013-07-03 19:52:22 -07:00
2013-07-05 11:54:27 +02:00
2013-07-01 11:23:13 +02:00
2013-06-28 13:36:22 +02:00
2013-07-03 19:52:22 -07:00
2013-03-26 14:12:01 +00:00