Commit 567f22b9 authored by Jay Wang's avatar Jay Wang
Browse files

ASoC: msm: Fix the issue that freed data structure is accessed



When there is a failure while opening q6asm capturing stream,
it releases the q6asm data structure which is accessed by
stream closing function and lead to a crash. Resolving the
issue by freeing the data structure in closing function
instead of during opening failure.

Change-Id: Ie45335a98be21d3b6035115241f657185a918be0
CRs-Fixed: 373438
Signed-off-by: default avatarJay Wang <jaywang@codeaurora.org>
parent d6ac8940
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment