mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[USBCCGP]
* Fix a thinko. svn path=/trunk/; revision=56686
This commit is contained in:
parent
f023556a30
commit
b62d985805
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ USBCCGP_InitFunctionDescriptor(
|
||||||
|
|
||||||
// allocate array for interface count
|
// allocate array for interface count
|
||||||
FunctionDescriptor->InterfaceDescriptorList = AllocateItem(NonPagedPool, sizeof(PUSB_INTERFACE_DESCRIPTOR) * Descriptor->bInterfaceCount);
|
FunctionDescriptor->InterfaceDescriptorList = AllocateItem(NonPagedPool, sizeof(PUSB_INTERFACE_DESCRIPTOR) * Descriptor->bInterfaceCount);
|
||||||
if (FunctionDescriptor->InterfaceDescriptorList)
|
if (!FunctionDescriptor->InterfaceDescriptorList)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// no memory
|
// no memory
|
||||||
|
|
Loading…
Reference in a new issue