commit | fb9fc96ff7a7ee2b13ec28a55d434585d2cfa762 | [log] [tgz] |
---|---|---|
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | Sun Jul 30 21:59:23 2017 +0200 |
committer | Anatolij Gustschin <agust@denx.de> | Sat Aug 19 20:42:20 2017 +0200 |
tree | 8b6fb31e582583158da079aa164a9472de57b7a6 | |
parent | 9cb538711a1b03a92e12f32465cb212502c3b29c [diff] |
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: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>