[ros-diffs] [cgutman] 56130: [VIDEOPRT] - Add missing ObReferenceObject call - Found by Johannes Anderwald

cgutman at svn.reactos.org cgutman at svn.reactos.org
Mon Mar 12 13:30:58 UTC 2012


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/dispatch.c?rev=56130&r1=56129&r2=56130&view=diff
==============================================================================
--- 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++;




More information about the Ros-diffs mailing list