[alsa-devel] [PATCH 3/4] ASoC: qdsp6: q6asm-dai: Fix a small memory leak

Srinivas Kandagatla srinivas.kandagatla at linaro.org
Fri Dec 21 13:29:31 CET 2018



On 21/12/2018 09:06, Dan Carpenter wrote:
> We can't return directly if snd_dma_alloc_pages() fails; we first need
> to free prtd->audio_client and prtd.
> 
> Fixes: 22930c79ac5c ("ASoC: qdsp6: q6asm-dai: Add support to compress offload")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
> ---


Thanks for the patch! I was due to send something similar!

Acked-by: Srinivas Kandagatla <srinivas.kandagatla at linaro.org>


More information about the Alsa-devel mailing list