commit | 72e840a15c66e89583f5bf35a8d890f6c77bb2db | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Mon May 25 10:58:44 2020 +0200 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Sun May 31 10:53:38 2020 +0200 |
tree | 200c96f1e90de27dd695adc1111a56e22654b8c5 | |
parent | 161246ec066f3eee40feeb02a07992db4c4e86f7 [diff] |
mtd: rawnand: nandsim: Free the partition names in ns_free() ns_free() is the helper that is called symmetrically to ns_init() and so should free the same objects, including the partition names. Now, callers of ns_free() do not need to free this partition names themselves. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20200525085851.17682-11-miquel.raynal@bootlin.com