mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 19:05:52 +00:00
- It doesn't make sense to dereference an I/O Work Item... did you perhaps mean to dereference the device object?
- Fixes a crash when IoInvalidateRelations is called, as well as a reference leak. svn path=/trunk/; revision=34590
This commit is contained in:
parent
fd5bd1942d
commit
910b3242e7
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ IopAsynchronousInvalidateDeviceRelations(
|
||||||
Data->DeviceObject,
|
Data->DeviceObject,
|
||||||
Data->Type);
|
Data->Type);
|
||||||
|
|
||||||
ObDereferenceObject(Data->WorkItem);
|
ObDereferenceObject(Data->DeviceObject);
|
||||||
IoFreeWorkItem(Data->WorkItem);
|
IoFreeWorkItem(Data->WorkItem);
|
||||||
ExFreePool(Data);
|
ExFreePool(Data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue