linux/sound/soc/qcom
Dan Carpenter a41d9dbf5d
ASoC: qdsp6: q6asm-dai: Fix a small memory leak
We can't return directly if snd_dma_alloc_pages() fails; we first need
to free prtd->audio_client and prtd.

Fixes: 22930c79ac ("ASoC: qdsp6: q6asm-dai: Add support to compress offload")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-01-03 16:32:56 +00:00
..
qdsp6 ASoC: qdsp6: q6asm-dai: Fix a small memory leak 2019-01-03 16:32:56 +00:00
Kconfig ASoC: qdsp6: q6asm-dai: Add support to compress offload 2018-12-14 12:43:59 +00:00
Makefile ASoC: qcom: make common.c as proper module 2018-08-06 12:50:04 +01:00
apq8016_sbc.c treewide: Use struct_size() for devm_kmalloc() and friends 2018-06-06 11:15:43 -07:00
apq8096.c ASoC: add for_each_card_prelinks() macro 2018-09-20 10:18:34 -07:00
common.c ASoC: qcom: Set dai_link id to each dai_link 2018-11-13 15:08:33 -08:00
common.h ASoC: qcom: remove unused header files from common.h 2018-08-06 12:50:07 +01:00
lpass-apq8016.c ASoC: qcom: move clock names into LPASS variant struct 2017-04-21 18:07:45 +01:00
lpass-cpu.c ASoC: qcom: move clock names into LPASS variant struct 2017-04-21 18:07:45 +01:00
lpass-ipq806x.c ASoC: qcom: move clock names into LPASS variant struct 2017-04-21 18:07:45 +01:00
lpass-lpaif-reg.h ASoC: qcom: add generic bit masks for RDMA and WRDMA 2016-02-20 01:20:18 +09:00
lpass-platform.c ASoC: qcom: clean up indentation, remove extraneous tab 2018-11-16 19:08:32 -08:00
lpass.h ASoC: qcom: move clock names into LPASS variant struct 2017-04-21 18:07:45 +01:00
sdm845.c ASoC: sdm845: set jack only for a specific backend 2019-01-03 16:32:47 +00:00
storm.c ASoC: qcom: Remove unnecessary function call 2017-08-21 17:14:00 +01:00