Skip to content
Commit e5b3eceb authored by Manuel Pégourié-Gonnard's avatar Manuel Pégourié-Gonnard Committed by Greg Kroah-Hartman
Browse files

staging: mt29f: fix unchecked malloc()



The pointer is unconditionally dereferenced a few lines later, we need to make
sure it isn't NULL.

Signed-off-by: default avatarManuel Pégourié-Gonnard <mpg@elzevir.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c5af6be3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment