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:
parent
cc13f87cd8
commit
7dc40c8eca
|
@ -490,7 +490,7 @@ DeleteInputDeviceRequest(DeviceIntPtr pDev)
|
||||||
}
|
}
|
||||||
RemoveDevice(pDev);
|
RemoveDevice(pDev);
|
||||||
|
|
||||||
if (!pInfo) /* VCP and VCK */
|
if (pDev->isMaster)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if(drv->UnInit)
|
if(drv->UnInit)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user