mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
crocus: fix batch state bo leak
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11547>
This commit is contained in:
parent
9027aae546
commit
29d272f144
1 changed files with 1 additions and 0 deletions
|
|
@ -562,6 +562,7 @@ crocus_batch_free(struct crocus_batch *batch)
|
|||
u_upload_destroy(batch->fine_fences.uploader);
|
||||
|
||||
crocus_bo_unreference(batch->command.bo);
|
||||
crocus_bo_unreference(batch->state.bo);
|
||||
batch->command.bo = NULL;
|
||||
batch->command.map = NULL;
|
||||
batch->command.map_next = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue