mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[USBCCGP]
- Fix bug when enumerating composite usb devices with IADs svn path=/trunk/; revision=57988
This commit is contained in:
parent
48f0592923
commit
8a09fb755c
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ USBCCGP_EnumWithAssociationDescriptor(
|
|||
// allocate function descriptor array
|
||||
//
|
||||
FDODeviceExtension->FunctionDescriptor = AllocateItem(NonPagedPool, sizeof(USBC_FUNCTION_DESCRIPTOR) * DescriptorCount);
|
||||
if (!FDODeviceExtension->FunctionDescriptorCount)
|
||||
if (!FDODeviceExtension->FunctionDescriptor)
|
||||
{
|
||||
//
|
||||
// no memory
|
||||
|
|
Loading…
Reference in a new issue