mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +02:00
zink: dot leak dummy_buffer
Fixes: 8736ffae2e ("zink: replace unset buffer with a dummy-buffer")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8099>
This commit is contained in:
parent
a118da0371
commit
07d5d911dd
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ zink_context_destroy(struct pipe_context *pctx)
|
|||
|
||||
util_blitter_destroy(ctx->blitter);
|
||||
|
||||
pipe_resource_reference(&ctx->dummy_buffer, NULL);
|
||||
for (unsigned i = 0; i < ARRAY_SIZE(ctx->null_buffers); i++)
|
||||
pipe_resource_reference(&ctx->null_buffers[i], NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue