Commit 49831e49 authored by Asish Bhattacharya's avatar Asish Bhattacharya
Browse files

ASOC: msm: allocate buf pointer only if session is valid



The event handler may get events even if the buffer is
deallocated already. The access to buff should be done only if
its not deallocated and session valid.

Change-Id: I3eac5976db354612cb5550acc2bb67396c8c47fe
CRs-fixed: 311574
Signed-off-by: default avatarAsish Bhattacharya <asishb@codeaurora.org>
parent 829af481
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment