summaryrefslogtreecommitdiff
path: root/src/radeon_kms.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_kms.c')
-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 e2474670..f997d8a5 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -1065,6 +1065,7 @@ static Bool RADEONCloseScreen_KMS(CLOSE_SCREEN_ARGS_DECL)
drmDropMaster(info->dri2.drm_fd);
+ drmmode_fini(pScrn, &info->drmmode);
if (info->dri2.enabled)
radeon_dri2_close_screen(pScreen);
drmClose(info->dri2.drm_fd);