https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265071

--- Comment #1 from [email protected] <[email protected]> ---
ext4_ext_grow_indepth() allocates memory chunk for "newblk" with
ext4_ext_alloc_meta(). When getblk() and bwrite() fail in this funciton,
"newblk" is not released, which will lead to a memory leak.

We should release the "newblk" with ext4_ext_blkfree() when some error
occurs to avoid the memory leak.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to