summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJackie Liu <liuyun01@kylinos.cn>2026-03-31 19:12:16 +0800
committerJens Axboe <axboe@kernel.dk>2026-03-31 07:05:49 -0600
commit2a2f520fda824b5a25c93f2249578ea150c24e06 (patch)
tree84f64c2db1df3654db54a3be708b340803191471 /tools/perf/scripts/python
parent267ec4d7223a783f029a980f41b93c39b17996da (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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions