[NTOSKRNL]

- Forgot this dereference
- Unloading works now, but there are many bugs in the device stacks that prevent it from occurring
- Usbhub will unload properly when a hub is removed for a driver update, but usbstor won't unload when all usb storage devices have been removed
- Work needs to be done to fix issues like this

svn path=/trunk/; revision=56185
This commit is contained in:
Cameron Gutman 2012-03-18 22:28:14 +00:00
parent 326be77908
commit fa222a9bdd

View file

@ -2610,7 +2610,7 @@ IopActionInitChildServices(PDEVICE_NODE DeviceNode,
Status = PipCallDriverAddDevice(DeviceNode, FALSE, DriverObject); Status = PipCallDriverAddDevice(DeviceNode, FALSE, DriverObject);
/* Remove the extra reference */ /* Remove the extra reference */
//ObDereferenceObject(DriverObject); ObDereferenceObject(DriverObject);
} }
else else
{ {