From 680b25b59891178cff1420e2b414fa39d70471bd Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Sat, 11 Jan 2003 15:33:49 +0000 Subject: [PATCH] Did not dereference the connected port if the function returns success. svn path=/trunk/; revision=3975 --- reactos/ntoskrnl/lpc/connect.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/lpc/connect.c b/reactos/ntoskrnl/lpc/connect.c index 49d4df1a8d6..71023d9258b 100644 --- a/reactos/ntoskrnl/lpc/connect.c +++ b/reactos/ntoskrnl/lpc/connect.c @@ -1,4 +1,4 @@ -/* $Id: connect.c,v 1.14 2002/11/05 20:27:56 hbirr Exp $ +/* $Id: connect.c,v 1.15 2003/01/11 15:33:49 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -479,7 +479,6 @@ NtConnectPort (PHANDLE UnsafeConnectedPortHandle, /* * All done. */ - ObDereferenceObject(ConnectedPort); return(STATUS_SUCCESS); }