mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 10:52:52 +00:00
[SETUPAPI]
- Don't store deleted pointers in a list - Found by Hervé Poussineau (hpoussin at reactos dot org) svn path=/trunk/; revision=44649
This commit is contained in:
parent
ebf5483364
commit
98423a8531
|
@ -365,8 +365,6 @@ InstallOneInterface(
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
InsertTailList(&devInfo->InterfaceListHead, &DevItf->ListEntry);
|
|
||||||
|
|
||||||
memcpy(&DeviceInterfaceData.InterfaceClassGuid, &DevItf->InterfaceClassGuid, sizeof(GUID));
|
memcpy(&DeviceInterfaceData.InterfaceClassGuid, &DevItf->InterfaceClassGuid, sizeof(GUID));
|
||||||
DeviceInterfaceData.cbSize = sizeof(SP_DEVICE_INTERFACE_DATA);
|
DeviceInterfaceData.cbSize = sizeof(SP_DEVICE_INTERFACE_DATA);
|
||||||
DeviceInterfaceData.Flags = DevItf->Flags;
|
DeviceInterfaceData.Flags = DevItf->Flags;
|
||||||
|
|
Loading…
Reference in a new issue