summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2020-05-25 11:58:43 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-05-31 11:53:38 +0300
commit161246ec066f3eee40feeb02a07992db4c4e86f7 (patch)
treee142aa8b5fecde42628dce672e4799c7e405d908 /scripts/gdb/linux/utils.py
parent52bc51c54ef8d8e9358f12666e9f107d9a44f394 (diff)
downloadlinux-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