mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +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
|
||||
FunctionDescriptor->InterfaceDescriptorList = AllocateItem(NonPagedPool, sizeof(PUSB_INTERFACE_DESCRIPTOR) * Descriptor->bInterfaceCount);
|
||||
if (FunctionDescriptor->InterfaceDescriptorList)
|
||||
if (!FunctionDescriptor->InterfaceDescriptorList)
|
||||
{
|
||||
//
|
||||
// no memory
|
||||
|
|
Loading…
Reference in a new issue