mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
Removed a wrong additional reference in IoCreateDevice.
svn path=/trunk/; revision=14766
This commit is contained in:
parent
ed7c0b9e7c
commit
4db3d406aa
1 changed files with 0 additions and 2 deletions
|
@ -511,8 +511,6 @@ IoCreateDevice(PDRIVER_OBJECT DriverObject,
|
|||
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 */
|
||||
|
|
Loading…
Reference in a new issue