mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 15:00:11 +01:00
v3dv: don't leak host memory allocated for shader variants
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
parent
77bccfd828
commit
89e426a4fb
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ destroy_pipeline_stage(struct v3dv_device *device,
|
|||
|
||||
if (variant->assembly_bo) {
|
||||
v3dv_bo_free(device, variant->assembly_bo);
|
||||
variant->assembly_bo = NULL;
|
||||
vk_free2(&device->alloc, pAllocator, variant);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue