Skip to content
Commit 021414a3 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Anatolij Gustschin
Browse files

lcd: avoid possible NULL dereference



Do not dereference bmp before the check if it is NULL.

The problem was indicated by cppcheck.

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
parent 56192959
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