r300: fix locked_zbuffer leak

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36447>
This commit is contained in:
Pavel Ondračka 2025-12-03 19:20:19 +01:00 committed by Marge Bot
parent 31aea50093
commit 16ffa0a490

View file

@ -47,6 +47,7 @@ static void r300_release_referenced_objects(struct r300_context *r300)
/* Manually-created vertex buffers. */
pipe_vertex_buffer_unreference(&r300->dummy_vb);
pipe_surface_reference(&r300->locked_zbuffer, NULL);
radeon_bo_reference(r300->rws, &r300->vbo, NULL);
r300->context.delete_depth_stencil_alpha_state(&r300->context,