mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
ZeroMemory the correct amount of bytes
svn path=/trunk/; revision=27398
This commit is contained in:
parent
7f02b7b93c
commit
1cf915a077
1 changed files with 1 additions and 1 deletions
|
@ -695,7 +695,7 @@ ClassAddDevice(
|
||||||
}
|
}
|
||||||
|
|
||||||
DeviceExtension = (PPORT_DEVICE_EXTENSION)Fdo->DeviceExtension;
|
DeviceExtension = (PPORT_DEVICE_EXTENSION)Fdo->DeviceExtension;
|
||||||
RtlZeroMemory(DeviceExtension, sizeof(PPORT_DEVICE_EXTENSION));
|
RtlZeroMemory(DeviceExtension, sizeof(PORT_DEVICE_EXTENSION));
|
||||||
DeviceExtension->Common.IsClassDO = FALSE;
|
DeviceExtension->Common.IsClassDO = FALSE;
|
||||||
DeviceExtension->DeviceObject = Fdo;
|
DeviceExtension->DeviceObject = Fdo;
|
||||||
DeviceExtension->PnpState = dsStopped;
|
DeviceExtension->PnpState = dsStopped;
|
||||||
|
|
Loading…
Reference in a new issue