summaryrefslogtreecommitdiff
path: root/src/s3v_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/s3v_driver.c')
-rw-r--r--src/s3v_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/s3v_driver.c b/src/s3v_driver.c
index 7064b1e..05f82cc 100644
--- a/src/s3v_driver.c
+++ b/src/s3v_driver.c
@@ -3308,8 +3308,10 @@ S3VCloseScreen(int scrnIndex, ScreenPtr pScreen)
S3VUnmapMem(pScrn);
}
+#ifdef HAVE_XAA_H
if (ps3v->AccelInfoRec)
XAADestroyInfoRec(ps3v->AccelInfoRec);
+#endif
if (ps3v->DGAModes)
free(ps3v->DGAModes);