mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
Did not dereference the connected port if the function returns success.
svn path=/trunk/; revision=3975
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user