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

Skip to content
Commit 2db1fabe authored by Aravind Kumar's avatar Aravind Kumar
Browse files

ASoC: msm8226: Avoid possible NULL pointer dereference



If memory allocation fails returning a NULL pointer,
the current code will skip to an error handling section
where the NULL pointer will get dereferenced. The
change skips the error handling and exits immediately
from the function.

CRs-Fixed: 628857
Change-Id: Ic14377ec387eeb7f227f1f0abffb64737b0a2654
Signed-off-by: default avatarAravind Kumar <akumark@codeaurora.org>
parent 74aaf7ba
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