Re: [PATCH 6/7] UBI: Fix memory leak in ubi_attach_fastmap() error path

2013-09-30 Thread Richard Genoud
2013/9/28 Richard Weinberger : > On error we have to free all three temporary lists. > > Reported-by: Richard Genoud > Signed-off-by: Richard Weinberger > --- > drivers/mtd/ubi/fastmap.c | 13 + > 1 file changed, 13 insertions(+) > > diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/m

[PATCH 6/7] UBI: Fix memory leak in ubi_attach_fastmap() error path

2013-09-28 Thread Richard Weinberger
On error we have to free all three temporary lists. Reported-by: Richard Genoud Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/fastmap.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/mtd/ubi/fastmap.c index 05067f5..4cfc8da 100644