Module: Mesa Branch: main Commit: 29d272f144ba800933af656717ed57adaa5e6510 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=29d272f144ba800933af656717ed57adaa5e6510
Author: Dave Airlie <[email protected]> Date: Wed Jun 23 12:57:13 2021 +1000 crocus: fix batch state bo leak Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11547> --- src/gallium/drivers/crocus/crocus_batch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/crocus/crocus_batch.c b/src/gallium/drivers/crocus/crocus_batch.c index d2f9791a304..5c476808ef4 100644 --- a/src/gallium/drivers/crocus/crocus_batch.c +++ b/src/gallium/drivers/crocus/crocus_batch.c @@ -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; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
