mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
[USBCCGP]
- Fix bug when enumerating composite usb devices with IADs svn path=/trunk/; revision=57988
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user