On Mon, 2021-07-12 at 14:52:14 UTC, Colin King wrote: > From: Colin Ian King <colin.king@xxxxxxxxxxxxx> > > The allocation for cmd is not being kfree'd on the return leading to > a memory leak. Fix this by kfree'ing it. > > Addresses-Coverity: ("Resource leak") > Fixes: 88d125026753 ("mtd: devices: add support for microchip 48l640 EERAM") > Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks. Miquel