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@xxxxxxxxxx> ---
Thanks for the patch! I was due to send something similar! Acked-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>