diff options
| author | Jackie Liu <liuyun01@kylinos.cn> | 2026-03-31 19:12:16 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-03-31 07:05:49 -0600 |
| commit | 2a2f520fda824b5a25c93f2249578ea150c24e06 (patch) | |
| tree | 84f64c2db1df3654db54a3be708b340803191471 /scripts/stackusage | |
| parent | 267ec4d7223a783f029a980f41b93c39b17996da (diff) | |
block: fix zones_cond memory leak on zone revalidation error paths
When blk_revalidate_disk_zones() fails after disk_revalidate_zone_resources()
has allocated args.zones_cond, the memory is leaked because no error path
frees it.
Fixes: 6e945ffb6555 ("block: use zone condition to determine conventional zones")
Suggested-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
Link: https://patch.msgid.link/20260331111216.24242-1-liu.yun@linux.dev
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
