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

Skip to content
Commit 83c59542 authored by Brian Norris's avatar Brian Norris
Browse files

mtd: nand_bbt: unify/fix error handling in nand_scan_bbt()



Don't leak this->bbt, and return early if check_create() fails. It helps
to have a single error path to avoid these problems.

Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 17799359
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