mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 14:51:00 +00:00
[VIDEOPRT]
- Add missing ObReferenceObject call - Found by Johannes Anderwald svn path=/trunk/; revision=56130
This commit is contained in:
parent
d67a1457b9
commit
9f44331d44
1 changed files with 1 additions and 0 deletions
|
@ -444,6 +444,7 @@ IntVideoPortQueryBusRelations(PDEVICE_OBJECT DeviceObject, PIRP Irp)
|
||||||
{
|
{
|
||||||
ChildExtension = CONTAINING_RECORD(CurrentEntry, VIDEO_PORT_CHILD_EXTENSION, ListEntry);
|
ChildExtension = CONTAINING_RECORD(CurrentEntry, VIDEO_PORT_CHILD_EXTENSION, ListEntry);
|
||||||
|
|
||||||
|
ObReferenceObject(ChildExtension->PhysicalDeviceObject);
|
||||||
DeviceRelations->Objects[i] = ChildExtension->PhysicalDeviceObject;
|
DeviceRelations->Objects[i] = ChildExtension->PhysicalDeviceObject;
|
||||||
|
|
||||||
i++;
|
i++;
|
||||||
|
|
Loading…
Reference in a new issue