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

Commit 75cf4f5a authored by Kangjie Lu's avatar Kangjie Lu Committed by Sebastian Reichel
Browse files

power: charger-manager: fix a potential NULL pointer dereference



In case create_freezable_workqueue fails, the fix return -ENOMEM
to avoid a potential NULL pointer dereference.

Signed-off-by: default avatarKangjie Lu <kjlu@umn.edu>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 077d9951
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