From: Thomas Hellstrom Date: Mon, 31 Oct 2011 13:01:39 +0000 (+0100) Subject: st/xa: Plug a pipe context leak. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c04b9d1d561cc3a1300e65bd410f33dfff6fe1e0;p=mesa.git st/xa: Plug a pipe context leak. Forgot to destroy the pipe context on xa context destroy. Signed-off-by: Thomas Hellstrom Reviewed-by: José Fonseca --- diff --git a/src/gallium/state_trackers/xa/xa_context.c b/src/gallium/state_trackers/xa/xa_context.c index 1d918de974f..b52ee27f43e 100644 --- a/src/gallium/state_trackers/xa/xa_context.c +++ b/src/gallium/state_trackers/xa/xa_context.c @@ -79,6 +79,8 @@ xa_context_destroy(struct xa_context *r) cso_destroy_context(r->cso); r->cso = NULL; } + + r->pipe->destroy(r->pipe); } int