- Temporarily disable referencing and dereferencing the LPC mapping process since...
authorAlex Ionescu <aionescu@gmail.com>
Sat, 3 Feb 2007 21:10:08 +0000 (21:10 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Sat, 3 Feb 2007 21:10:08 +0000 (21:10 +0000)
svn path=/trunk/; revision=25708

reactos/ntoskrnl/lpc/close.c
reactos/ntoskrnl/lpc/connect.c

index d142d0f..89ec7d3 100644 (file)
@@ -374,7 +374,7 @@ LpcpDeletePort(IN PVOID ObjectBody)
         }
 
         /* Dereference the mapping process */
-        ObDereferenceObject(Port->MappingProcess);
+        //ObDereferenceObject(Port->MappingProcess);
         Port->MappingProcess = NULL;
     }
 
index 6031ece..8853a3e 100644 (file)
@@ -299,7 +299,7 @@ NtSecureConnectPort(OUT PHANDLE PortHandle,
 
         /* Reference and remember the process */
         ClientPort->MappingProcess = PsGetCurrentProcess();
-        ObReferenceObject(ClientPort->MappingProcess);
+        //ObReferenceObject(ClientPort->MappingProcess);
     }
     else
     {