xfree86: Don't free master devices.

The previous check works in the master-branch, but doesn't work with MPX. We
actually copy the SD's information into the MDs public.devicePrivate, so we
need to explicitly check whether a device is a MD before freeing the module.
This commit is contained in:
Peter Hutterer 2008-04-24 12:47:29 +09:30
parent cc13f87cd8
commit 7dc40c8eca

View File

@ -490,7 +490,7 @@ DeleteInputDeviceRequest(DeviceIntPtr pDev)
}
RemoveDevice(pDev);
if (!pInfo) /* VCP and VCK */
if (pDev->isMaster)
return;
if(drv->UnInit)