summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/radeon_kms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index cacdf8eb..e2474670 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -1067,6 +1067,7 @@ static Bool RADEONCloseScreen_KMS(CLOSE_SCREEN_ARGS_DECL)
if (info->dri2.enabled)
radeon_dri2_close_screen(pScreen);
+ drmClose(info->dri2.drm_fd);
pScrn->vtSema = FALSE;
xf86ClearPrimInitDone(info->pEnt->index);