Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 479268e9 authored by Aviral Gupta's avatar Aviral Gupta
Browse files

ASoC: soc-pcm: fix the invalid access of the memory



dpcm_path_get returns negative if the memory allocatoion has failed.
We should not free the list in this case.
Remove the call dpcm_path_put which releases an invalid memory area.

Change-Id: Ie0122db5117aa65fc6623fbede32f289a0d25326
Signed-off-by: default avatarAviral Gupta <aviralg@codeaurora.org>
parent 83dd8ec0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment