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