aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2017-05-01 17:04:53 -0700
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-05-22 09:42:29 +0200
commit787710492911e21148975e1d1914c7409fb32c7e (patch)
tree643531c181864b2fd26246113b4b48283e3c6817 /scripts/gdb/linux/utils.py
parent0545c1720277dd246bd682b23aee425f3830a14f (diff)
mtd: nand: free vendor-specific resources in init failure paths
If we fail any time after calling nand_detect(), then we don't call the vendor-specific ->cleanup() callback, and we'll leak any resources the vendor-specific code might have allocated. Mark the "fix" against the first commit that started allocating anything in ->init(). Fixes: 626994e07480 ("mtd: nand: hynix: Add read-retry support for 1x nm MLC NANDs") Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions