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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment