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

Skip to content
Commit 886c683e authored by Sujit Reddy Thumma's avatar Sujit Reddy Thumma Committed by Stephen Boyd
Browse files

mmc: mmc_test: Fix possible NULL pointer dereference



test->highmem can be NULL if no page can be allocated.
In this case don't try to free it which can cause NULL
pointer dereference crash.

Change-Id: I6c31a265fd801dfc4169530e3f39ffcf6590f5a8
Signed-off-by: default avatarSujit Reddy Thumma <sthumma@codeaurora.org>
parent f902516c
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