mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-24 00:30:34 +01:00
radv/amdgpu: free the VA range in case the BO allocation failed
Found by inspection. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40461>
This commit is contained in:
parent
0bbc26d2c4
commit
02628a5eb7
1 changed files with 1 additions and 0 deletions
|
|
@ -759,6 +759,7 @@ error_va_map:
|
|||
ac_drm_bo_free(ws->dev, buf_handle);
|
||||
|
||||
error_bo_alloc:
|
||||
ac_drm_va_range_free(va_handle);
|
||||
free(ranges);
|
||||
|
||||
error_va_alloc:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue