mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[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:
@@ -2610,7 +2610,7 @@ IopActionInitChildServices(PDEVICE_NODE DeviceNode,
|
||||
Status = PipCallDriverAddDevice(DeviceNode, FALSE, DriverObject);
|
||||
|
||||
/* Remove the extra reference */
|
||||
//ObDereferenceObject(DriverObject);
|
||||
ObDereferenceObject(DriverObject);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user