mirror of
https://github.com/reactos/reactos.git
synced 2024-10-19 07:28:18 +00:00
Did not dereference the connected port if the function returns success.
svn path=/trunk/; revision=3975
This commit is contained in:
parent
b99cb5b1aa
commit
680b25b598
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue