Re: [f2fs-dev] [PATCH v3] fsck.f2fs: fix memleak in f2fs_create()

2023-06-05 Thread Chao Yu
On 2023/6/5 14:08, Maxim Korotkov wrote: In error handling cases, exiting a function without releasing memory Signed-off-by: Maxim Korotkov Reviewed-by: Chao Yu Thanks, ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net

[f2fs-dev] [PATCH v3] fsck.f2fs: fix memleak in f2fs_create()

2023-06-05 Thread Maxim Korotkov
In error handling cases, exiting a function without releasing memory Signed-off-by: Maxim Korotkov --- changelog: removed trailing indent fsck/dir.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/fsck/dir.c b/fsck/dir.c index 4a3eb6e..793fe11 100644 ---