[alsa-devel] [PATCH] ASoC: wm0010: fix memory leak
Charles Keepax
ckeepax at opensource.wolfsonmicro.com
Tue Sep 1 10:29:43 CEST 2015
On Tue, Sep 01, 2015 at 11:14:05AM +0530, Sudip Mukherjee wrote:
> 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 at vectorindia.org>
> ---
Acked-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>
Thanks,
Charles
More information about the Alsa-devel
mailing list