Skip to content

r300: fix r300_destroy_context() related memory leaks

What does this MR do and why?

r300: fix r300_destroy_context() related memory leaks

For instance, with "piglit/bin/fcc-blit-between-clears -auto -fbo"":
SUMMARY: AddressSanitizer: 70512 byte(s) leaked in 497 allocation(s).

Fixes: e01f86c67b0b ("r300: set PIPE_BIND_CONSTANT_BUFFER for const_uploader")
Signed-off-by: Patrick Lerda <patrick9876@free.fr>

Merge request reports