[ros-diffs] [hbirr] 14766: Removed a wrong additional reference in
IoCreateDevice.
hbirr at svn.reactos.com
hbirr at svn.reactos.com
Sat Apr 23 12:16:20 CEST 2005
Removed a wrong additional reference in IoCreateDevice.
Modified: trunk/reactos/ntoskrnl/io/device.c
_____
Modified: trunk/reactos/ntoskrnl/io/device.c
--- trunk/reactos/ntoskrnl/io/device.c 2005-04-23 10:15:49 UTC (rev
14765)
+++ trunk/reactos/ntoskrnl/io/device.c 2005-04-23 10:16:18 UTC (rev
14766)
@@ -511,8 +511,6 @@
CreatedDeviceObject->NextDevice = DriverObject->DeviceObject;
DriverObject->DeviceObject = CreatedDeviceObject;
- /* Close the temporary handle, but do an extra reference first so
it doesn't die */
- ObReferenceObject(CreatedDeviceObject);
NtClose(TempHandle);
/* Return to caller */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050423/7d589fe1/attachment.html
More information about the Ros-diffs
mailing list