Mesa (master): st/xa: Plug a pipe context leak.
Thomas Hellstrom
thomash at kemper.freedesktop.org
Mon Oct 31 13:36:04 UTC 2011
Module: Mesa
Branch: master
Commit: c04b9d1d561cc3a1300e65bd410f33dfff6fe1e0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c04b9d1d561cc3a1300e65bd410f33dfff6fe1e0
Author: Thomas Hellstrom <thellstrom at vmware.com>
Date: Mon Oct 31 14:01:39 2011 +0100
st/xa: Plug a pipe context leak.
Forgot to destroy the pipe context on xa context destroy.
Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
Reviewed-by: José Fonseca <jfonseca at vmware.com>
---
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 1d918de..b52ee27 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
More information about the mesa-commit
mailing list