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

Skip to content
Commit c6cc9fc9 authored by Syam Sidhardhan's avatar Syam Sidhardhan Committed by Anton Vorontsov
Browse files

s3c-adc-battery: Fix possible NULL pointer dereference



Check for (bat == NULL) has to be done before accessing bat

Signed-off-by: default avatarSyam Sidhardhan <s.syam@samsung.com>
Signed-off-by: default avatarAnton Vorontsov <anton@enomsg.org>
parent 9239ebcf
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