diff options
| author | 2020-05-25 10:58:43 +0200 | |
|---|---|---|
| committer | 2020-05-31 10:53:38 +0200 | |
| commit | 161246ec066f3eee40feeb02a07992db4c4e86f7 (patch) | |
| tree | e142aa8b5fecde42628dce672e4799c7e405d908 /scripts/gdb/linux/config.py | |
| parent | mtd: rawnand: nandsim: Free partition names on error in ns_init() (diff) | |
| download | wireguard-linux-161246ec066f3eee40feeb02a07992db4c4e86f7.tar.xz wireguard-linux-161246ec066f3eee40feeb02a07992db4c4e86f7.zip | |
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/config.py')
0 files changed, 0 insertions, 0 deletions
