Author: cgutman Date: Mon Mar 12 13:30:57 2012 New Revision: 56130
URL: http://svn.reactos.org/svn/reactos?rev=56130&view=rev Log: [VIDEOPRT] - Add missing ObReferenceObject call - Found by Johannes Anderwald
Modified: trunk/reactos/drivers/video/videoprt/dispatch.c
Modified: trunk/reactos/drivers/video/videoprt/dispatch.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/videoprt/disp... ============================================================================== --- trunk/reactos/drivers/video/videoprt/dispatch.c [iso-8859-1] (original) +++ trunk/reactos/drivers/video/videoprt/dispatch.c [iso-8859-1] Mon Mar 12 13:30:57 2012 @@ -444,6 +444,7 @@ { ChildExtension = CONTAINING_RECORD(CurrentEntry, VIDEO_PORT_CHILD_EXTENSION, ListEntry);
+ ObReferenceObject(ChildExtension->PhysicalDeviceObject); DeviceRelations->Objects[i] = ChildExtension->PhysicalDeviceObject;
i++;