Module: Mesa Branch: mesa_7_7_branch Commit: 5fdc4f732f6fb50dc324b60b0cff05b6eca46946 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5fdc4f732f6fb50dc324b60b0cff05b6eca46946
Author: Jakob Bornecrantz <[email protected]> Date: Wed Dec 30 04:58:25 2009 +0100 st/xorg: Be proper with pipe pointers on close in exa --- 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); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
