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:
committed by
Marge Bot
parent
8e0a341286
commit
55729ea7ca
@@ -99,6 +99,7 @@ destroy_pipeline_stage(struct v3dv_device *device,
|
||||
|
||||
if (variant->assembly_bo) {
|
||||
v3dv_bo_free(device, variant->assembly_bo);
|
||||
ralloc_free(variant->prog_data.base);
|
||||
vk_free2(&device->alloc, pAllocator, variant);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user