Author: vmikayelyan
Date: Fri Aug 19 16:24:25 2016
New Revision: 72380
URL:
http://svn.reactos.org/svn/reactos?rev=72380&view=rev
Log:
usb: libusb: hub: Refernce interface before passing up
Added InterfaceReference() calls before passing interface to upper
layer.
Modified:
branches/GSoC_2016/USB/sdk/lib/drivers/libusb/hub_controller.cpp
Modified: branches/GSoC_2016/USB/sdk/lib/drivers/libusb/hub_controller.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2016/USB/sdk/lib/drivers/l…
==============================================================================
--- branches/GSoC_2016/USB/sdk/lib/drivers/libusb/hub_controller.cpp [iso-8859-1]
(original)
+++ branches/GSoC_2016/USB/sdk/lib/drivers/libusb/hub_controller.cpp [iso-8859-1] Fri Aug
19 16:24:25 2016
@@ -3745,6 +3745,7 @@
InterfaceHub->SetDeviceHandleData = USBHI_SetDeviceHandleData;
}
+ InterfaceHub->InterfaceReference(InterfaceHub->BusContext);
//
// request completed
//
@@ -3799,6 +3800,7 @@
InterfaceDI->EnumLogEntry = USBDI_EnumLogEntry;
}
+ InterfaceDI->InterfaceReference(InterfaceDI->BusContext);
//
// request completed
//