From 281ebb453d2f5254e057a24e580dafa9abf82305 Mon Sep 17 00:00:00 2001 From: Tiago Vignatti Date: Thu, 10 Sep 2009 17:52:32 +0300 Subject: [PATCH] xfree86: vgaarb: close and cleanup vga arbiter So far there are no apparently issues on not closing the fd. But let's do the right job here. Signed-off-by: Tiago Vignatti Acked-by: Dave Airlie Signed-off-by: Peter Hutterer --- hw/xfree86/common/xf86Init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index f9224b1a6..8f2cdf6aa 100644 --- a/hw/xfree86/common/xf86Init.c +++ b/hw/xfree86/common/xf86Init.c @@ -1181,6 +1181,8 @@ ddxGiveUp(void) { int i; + xf86VGAarbiterFini(); + #ifdef XF86PM if (xf86OSPMClose) xf86OSPMClose();