From c04b9d1d561cc3a1300e65bd410f33dfff6fe1e0 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Mon, 31 Oct 2011 14:01:39 +0100 Subject: [PATCH] st/xa: Plug a pipe context leak. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Forgot to destroy the pipe context on xa context destroy. Signed-off-by: Thomas Hellstrom Reviewed-by: José Fonseca --- src/gallium/state_trackers/xa/xa_context.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2