mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
Zero the full structure. Thanks Fireball
svn path=/trunk/; revision=27090
This commit is contained in:
parent
0dabf31e76
commit
05b27afd12
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ PnpRootCreateDevice(
|
|||
Status = STATUS_NO_MEMORY;
|
||||
goto cleanup;
|
||||
}
|
||||
RtlZeroMemory(Device, sizeof(Device));
|
||||
RtlZeroMemory(Device, sizeof(PNPROOT_DEVICE));
|
||||
if (!RtlCreateUnicodeString(&Device->DeviceID, DevicePath))
|
||||
{
|
||||
Status = STATUS_NO_MEMORY;
|
||||
|
|
Loading…
Reference in a new issue