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

Commit a8aea17d authored by Aditya Bavanari's avatar Aditya Bavanari
Browse files

dsp: fix dangling pointer access



Assign the circular buffer address to port buffer only after ION
allocation is succesful to fix dangling pointer access.
Also, lock the circular buffer memory allocation in order to
avoid multiple allocations for a port.

CRs-Fixed: 2096407
Change-Id: I22c1d55ea611ac59cdca51924787f6831bad8c2b
Signed-off-by: default avatarAditya Bavanari <abavanar@codeaurora.org>
parent 8f7ccc2e
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