On 2023/9/14 06:10, Sandeep Dhavale wrote:
Hi,
Below series contains few small misc fixes found after running through clang
static checker.
All these patches look good to me, will apply.
Thanks,
Gao Xiang
Sandeep Dhavale (7):
erofs-utils: fsck: Fix potential memory leak in error path
erofs-utils: lib: Remove redundant line to get padding
erofs-utils: lib: Fix memory leak if __erofs_battach() fails
erofs-utils: lib: Check for error from z_erofs_pack_file_from_fd()
erofs-utils: lib: Fix the memory leak in error path
erofs-utils: lib: Remove redundant assignment
erofs-utils: lib: tar: Initialize the variable to avoid using garbage
value
fsck/main.c | 4 +++-
lib/blobchunk.c | 1 -
lib/cache.c | 4 +++-
lib/compress.c | 2 ++
lib/decompress.c | 4 +++-
lib/namei.c | 1 -
lib/tar.c | 2 +-
7 files changed, 12 insertions(+), 6 deletions(-)