[USBCCGP]

* Fix a thinko.

svn path=/trunk/; revision=56686
This commit is contained in:
Amine Khaldi 2012-06-01 18:59:22 +00:00
parent f023556a30
commit b62d985805

View file

@ -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