[VIDEOPRT]

- Add missing ObReferenceObject call
- Found by Johannes Anderwald

svn path=/trunk/; revision=56130
This commit is contained in:
Cameron Gutman 2012-03-12 13:30:57 +00:00
parent d67a1457b9
commit 9f44331d44

View file

@ -444,6 +444,7 @@ IntVideoPortQueryBusRelations(PDEVICE_OBJECT DeviceObject, PIRP Irp)
{
ChildExtension = CONTAINING_RECORD(CurrentEntry, VIDEO_PORT_CHILD_EXTENSION, ListEntry);
ObReferenceObject(ChildExtension->PhysicalDeviceObject);
DeviceRelations->Objects[i] = ChildExtension->PhysicalDeviceObject;
i++;