diff options
Diffstat (limited to 'src/smi_driver.c')
-rw-r--r-- | src/smi_driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/smi_driver.c b/src/smi_driver.c index 25eb742..05d7202 100644 --- a/src/smi_driver.c +++ b/src/smi_driver.c @@ -1847,9 +1847,11 @@ SMI_CloseScreen(int scrnIndex, ScreenPtr pScreen) /* Restore console mode and unmap framebuffer */ SMI_LeaveVT(scrnIndex, 0); +#ifdef HAVE_XAA_H if (pSmi->XAAInfoRec != NULL) { XAADestroyInfoRec(pSmi->XAAInfoRec); } +#endif if (pSmi->EXADriverPtr) { exaDriverFini(pScreen); pSmi->EXADriverPtr = NULL; |