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

Skip to content
Commit 381794fc authored by Zhenlin Lian's avatar Zhenlin Lian Committed by Gerrit - the friendly Code Review server
Browse files

hal: Initialize keep alive list before clearing if wrong state

When the keep alive state is incorrect the list is not initialized
before calling this.
Move list initialization up to avoid a null pointer dereference crash
when this happens.

Change-Id: Id530a11c3d0fcad2efa6247f1adbd3f7283921a9
parent 4ae72025
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