diff options
author | Thomas Hellstrom <[email protected]> | 2011-10-31 14:01:39 +0100 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2011-10-31 14:35:23 +0100 |
commit | c04b9d1d561cc3a1300e65bd410f33dfff6fe1e0 (patch) | |
tree | 75180a4392a6524d54d1ea0b29a9bbd6a78a6ce8 /src/gallium/state_trackers | |
parent | 037e7a68f504f019b409ec8cb92f0075019a90f5 (diff) |
st/xa: Plug a pipe context leak.
Forgot to destroy the pipe context on xa context destroy.
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/xa/xa_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |