Author: cgutman
Date: Sun Mar 11 14:12:28 2012
New Revision: 56118
URL:
http://svn.reactos.org/svn/reactos?rev=56118&view=rev
Log:
[NTOSKRNL]
- Temporarily comment out the dereferencing
Modified:
trunk/reactos/ntoskrnl/io/iomgr/driver.c
trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/driver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/driver.c…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/driver.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/driver.c [iso-8859-1] Sun Mar 11 14:12:28 2012
@@ -589,7 +589,7 @@
Status = IopInitializeDevice(DeviceNode, DriverObject);
/* Remove extra reference */
- ObDereferenceObject(DriverObject);
+ //ObDereferenceObject(DriverObject);
}
return STATUS_SUCCESS;
@@ -885,7 +885,7 @@
}
/* Remove extra reference from IopInitializeDriverModule */
- ObDereferenceObject(DriverObject);
+ //ObDereferenceObject(DriverObject);
return Status;
}
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c [iso-8859-1] Sun Mar 11 14:12:28 2012
@@ -2613,7 +2613,7 @@
Status = PipCallDriverAddDevice(DeviceNode, FALSE, DriverObject);
/* Remove the extra reference */
- ObDereferenceObject(DriverObject);
+ //ObDereferenceObject(DriverObject);
}
else
{