commit | 871e7c01ca55fdc714691206f041e48f695f444c | [log] [tgz] |
---|---|---|
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | Sun Aug 06 14:55:01 2017 +0200 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Tue Aug 15 14:00:47 2017 +0200 |
tree | 4c432aa6a036d3f2b3c196b358e3a6d303eba309 | |
parent | d64dc9c8470da1582bf0d853c8a4ae05ad31815b [diff] |
mtd: physmap_of: Fix resources leak in 'of_flash_probe()' If 'of_flash_probe_gemini()' or 'of_flash_probe_versatile()' fail, we must reslease some resources, as already done in all error handling paths in this function. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>