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

2020-10-15 Thread Miquel Raynal
Hi Richard, Thank you very much for this entire series, so far I'm fine with all your changes, but perhaps this patch needs some editions. Richard Genoud wrote on Wed, 14 Oct 2020 10:06:10 +0200: > *file and *dir were not freed on error > > Signed-off-by: Richard Genoud > --- >

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

2020-10-14 Thread Richard Genoud
*file and *dir were not freed on error Signed-off-by: Richard Genoud --- fs/squashfs/sqfs.c | 39 +++ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c index 0ac922af9e7..55d183663a8 100644 ---