Author: akhaldi
Date: Fri Jun 1 18:59:22 2012
New Revision: 56686
URL:
http://svn.reactos.org/svn/reactos?rev=56686&view=rev
Log:
[USBCCGP]
* Fix a thinko.
Modified:
trunk/reactos/drivers/usb/usbccgp/function.c
Modified: trunk/reactos/drivers/usb/usbccgp/function.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbccgp/functi…
==============================================================================
--- trunk/reactos/drivers/usb/usbccgp/function.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbccgp/function.c [iso-8859-1] Fri Jun 1 18:59:22 2012
@@ -331,7 +331,7 @@
// allocate array for interface count
FunctionDescriptor->InterfaceDescriptorList = AllocateItem(NonPagedPool,
sizeof(PUSB_INTERFACE_DESCRIPTOR) * Descriptor->bInterfaceCount);
- if (FunctionDescriptor->InterfaceDescriptorList)
+ if (!FunctionDescriptor->InterfaceDescriptorList)
{
//
// no memory