projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53e314c
)
st/xorg: Be proper with pipe pointers on close in exa
author
Jakob Bornecrantz
<jakob@vmware.com>
Wed, 30 Dec 2009 03:58:25 +0000
(
04:58
+0100)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Wed, 30 Dec 2009 04:00:30 +0000
(
05:00
+0100)
src/gallium/state_trackers/xorg/xorg_exa.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/xorg/xorg_exa.c
b/src/gallium/state_trackers/xorg/xorg_exa.c
index 37c234af28fd43713e908cabc18d7060829054e2..4e7882551ddfafc3abb06d218e19a7646418fafc 100644
(file)
--- a/
src/gallium/state_trackers/xorg/xorg_exa.c
+++ b/
src/gallium/state_trackers/xorg/xorg_exa.c
@@
-1021,6
+1021,9
@@
xorg_exa_close(ScrnInfoPtr pScrn)
if (exa->pipe)
exa->pipe->destroy(exa->pipe);
+ exa->pipe = NULL;
+ /* Since this was shared be proper with the pointer */
+ ms->ctx = NULL;
exaDriverFini(pScrn->pScreen);
xfree(exa);