commit | 51d2eeef1d958ef6834b24f548194f5acea0f499 | [log] [tgz] |
---|---|---|
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | Tue Sep 01 11:14:05 2015 +0530 |
committer | Mark Brown <broonie@kernel.org> | Tue Sep 01 14:10:50 2015 +0100 |
tree | 0beae9e8d582f3dd6045777369ceae270225f354 | |
parent | bc0195aad0daa2ad5b0d76cce22b167bc3435590 [diff] |
ASoC: wm0010: fix memory leak We were aborting if the kzalloc of img_swap fails but without freeing the already allocated out. Similarly we were aborting if spi_sync fails without releasing out and img_swap. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>