diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2009-12-30 04:58:25 +0100 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2009-12-30 05:00:30 +0100 |
commit | 5fdc4f732f6fb50dc324b60b0cff05b6eca46946 (patch) | |
tree | eb60d7375ad2761004da27282514c6f92595808d | |
parent | 53e314cb8057797ae75187d91836a50f61170dd7 (diff) | |
download | external_mesa3d-5fdc4f732f6fb50dc324b60b0cff05b6eca46946.zip external_mesa3d-5fdc4f732f6fb50dc324b60b0cff05b6eca46946.tar.gz external_mesa3d-5fdc4f732f6fb50dc324b60b0cff05b6eca46946.tar.bz2 |
st/xorg: Be proper with pipe pointers on close in exa
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_exa.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa.c b/src/gallium/state_trackers/xorg/xorg_exa.c index 37c234a..4e78825 100644 --- 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); |