mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user