diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-05-25 11:58:43 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-05-31 11:53:38 +0300 |
commit | 161246ec066f3eee40feeb02a07992db4c4e86f7 (patch) | |
tree | e142aa8b5fecde42628dce672e4799c7e405d908 /scripts/gdb/linux/utils.py | |
parent | 52bc51c54ef8d8e9358f12666e9f107d9a44f394 (diff) | |
download | linux-161246ec066f3eee40feeb02a07992db4c4e86f7.tar.xz |
mtd: rawnand: nandsim: Free the allocated device on error in ns_init()
The nandsim device is allocated and initialized inside ns_init() by a
call to ns_alloc_device(), free it on error.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200525085851.17682-10-miquel.raynal@bootlin.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions