mtd: nand: don't leak buffers when ->scan_bbt() fails
This bug seems to have been here forever, although we came close to fixing all of them in [1]! [1] 11eaf6df ("mtd: nand: Remove BUG() abuse in nand_scan_tail") Signed-off-by: NBrian Norris <computersforpeace@gmail.com> Acked-by: NEzequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
Showing
想要评论请 注册 或 登录