mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
- We already do this in the SEH block. No need to do it twice.
svn path=/trunk/; revision=37120
This commit is contained in:
parent
f327269375
commit
4ed7116ff9
1 changed files with 2 additions and 4 deletions
|
@ -529,10 +529,6 @@ IopGetDeviceDepth(PPLUGPLAY_CONTROL_DEPTH_DATA DepthData)
|
|||
|
||||
DeviceNode = IopGetDeviceNode(DeviceObject);
|
||||
|
||||
DepthData->Depth = DeviceNode->Level;
|
||||
|
||||
ObDereferenceObject(DeviceObject);
|
||||
|
||||
_SEH_TRY
|
||||
{
|
||||
DepthData->Depth = DeviceNode->Level;
|
||||
|
@ -543,6 +539,8 @@ IopGetDeviceDepth(PPLUGPLAY_CONTROL_DEPTH_DATA DepthData)
|
|||
}
|
||||
_SEH_END;
|
||||
|
||||
ObDereferenceObject(DeviceObject);
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue