mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
v3dv: don't leak prog_data from shader variants
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
parent
8e0a341286
commit
55729ea7ca
1 changed files with 1 additions and 0 deletions
|
|
@ -99,6 +99,7 @@ destroy_pipeline_stage(struct v3dv_device *device,
|
||||||
|
|
||||||
if (variant->assembly_bo) {
|
if (variant->assembly_bo) {
|
||||||
v3dv_bo_free(device, variant->assembly_bo);
|
v3dv_bo_free(device, variant->assembly_bo);
|
||||||
|
ralloc_free(variant->prog_data.base);
|
||||||
vk_free2(&device->alloc, pAllocator, variant);
|
vk_free2(&device->alloc, pAllocator, variant);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue