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

Commit 5eea0ca8 authored by Fred Oh's avatar Fred Oh
Browse files

ASoC: msm: qdsp6v2: make frame info to static array



Frame info which track size of captured data and offset is dyanmically
allocated data. Some crashes are reported due to frame info is used after
free. Error type is null pointer dereference. Total size of frame info is
relatively small and it is part of msm_audio which is dynamically
allocated structure. No need to allocate and track it separately.

Change-Id: I393a935cb43454af7b208039bf39af7bfe7feb06
Signed-off-by: default avatarFred Oh <fred@codeaurora.org>
parent 3e5d75b2
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