Re: [PATCH v2 05/28] fs/squashfs: sqfs_split_path: fix memory leak and dangling pointers

2020-11-19 Thread Tom Rini
On Tue, Nov 03, 2020 at 12:11:03PM +0100, Richard Genoud wrote: > *file and *dir were not freed on error > > Reviewed-by: Joao Marcos Costa > Signed-off-by: Richard Genoud Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 05/28] fs/squashfs: sqfs_split_path: fix memory leak and dangling pointers

2020-11-03 Thread João Marcos Costa
Same comment about the error path simplification. Reviewed-by Joao Marcos Costa Em ter., 3 de nov. de 2020 às 08:12, Richard Genoud < richard.gen...@posteo.net> escreveu: > *file and *dir were not freed on error > > Signed-off-by: Richard Genoud > --- > fs/squashfs/sqfs.c | 40

[PATCH v2 05/28] fs/squashfs: sqfs_split_path: fix memory leak and dangling pointers

2020-11-03 Thread Richard Genoud
*file and *dir were not freed on error Signed-off-by: Richard Genoud --- fs/squashfs/sqfs.c | 40 1 file changed, 28 insertions(+), 12 deletions(-) diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c index 0ac922af9e7..58b8bfc66dc 100644 ---