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