[PATCH v3] erofs-utils: decompress: fix QPL job leak on error paths

Gao Xiang hsiangkao at linux.alibaba.com
Fri Mar 20 16:30:06 AEDT 2026



On 2026/3/20 09:59, Vi-shub wrote:
> Two early returns in z_erofs_decompress_qpl() after a successful
> z_erofs_qpl_get_job() skip the cleanup, leaking the job handle.
> Use goto out_inflate_end instead.
> 
> Signed-off-by: Shubham Sharma <smsharma3121 at gmail.com>

LGTM, will apply.

Thanks,
Gao Xiang


More information about the Linux-erofs mailing list