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

Skip to content
Commit 8e3a5687 authored by gaoxiupei's avatar gaoxiupei
Browse files

PatchTrackBase: fix null pointer dereference issue



cblk will be released when the function isTrackAllowed_l returns false, so when creating PatchTrackBase we should check whether the cblk is released to prevent null pointer dereferencing issue.

Test: make libaudioflinger
Bug: 290325983

Change-Id: I2a61b5b4f7777528cd4f8f2aa80dfec113bfce2e
Signed-off-by: default avatargaoxiupei <gaoxiupei@xiaomi.corp-partner.google.com>
parent 46a894dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment