[PATCH v2] fs: ext4fs: Free memory while handling errors

Quentin Schulz quentin.schulz at cherry.de
Mon Dec 15 13:25:03 CET 2025


Hi Francois,

On 12/15/25 12:34 PM, Francois Berder wrote:
> If zalloc fails, one needs to free memory previously
> allocated in the function. This commit makes sure that
> we do not leak any memory.
> 

Fixes: ed34f34dbaf2 ("ext4fs write support")
Acked-by: Quentin Schulz <quentin.schulz at cherry.de>

Thanks!
Quentin


More information about the U-Boot mailing list