diff options
author | Zhipeng Lu <alexious@zju.edu.cn> | 2023-12-14 19:58:42 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-12-14 23:28:53 +0300 |
commit | c2709b2d6a537ca0fa0f1da36fdaf07e48ef447d (patch) | |
tree | 8931f27282071bc41da9eaf2468aed32e6e97813 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 28dd788382c43b330480f57cd34cde0840896743 (diff) | |
download | linux-c2709b2d6a537ca0fa0f1da36fdaf07e48ef447d.tar.xz |
gpu/drm/radeon: fix two memleaks in radeon_vm_init
When radeon_bo_create and radeon_vm_clear_bo fail, the vm->page_tables
allocated before need to be freed. However, neither radeon_vm_init
itself nor its caller have done such deallocation.
Fixes: 6d2f2944e95e ("drm/radeon: use normal BOs for the page tables v4")
Signed-off-by: Zhipeng Lu <alexious@zju.edu.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions