st/xorg: Be proper with pipe pointers on close in exa

This commit is contained in:
Jakob Bornecrantz
2009-12-30 04:58:25 +01:00
parent 53e314cb80
commit 5fdc4f732f
@@ -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);