diff options
| author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | 2017-08-06 14:55:01 +0200 |
|---|---|---|
| committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-08-15 14:00:47 +0200 |
| commit | 871e7c01ca55fdc714691206f041e48f695f444c (patch) | |
| tree | 4c432aa6a036d3f2b3c196b358e3a6d303eba309 /lib/mpi/mpiutil.c | |
| 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>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
