mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:25:52 +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 changed files with 1 additions and 2 deletions
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -479,7 +479,6 @@ NtConnectPort (PHANDLE UnsafeConnectedPortHandle,
|
||||||
/*
|
/*
|
||||||
* All done.
|
* All done.
|
||||||
*/
|
*/
|
||||||
ObDereferenceObject(ConnectedPort);
|
|
||||||
|
|
||||||
return(STATUS_SUCCESS);
|
return(STATUS_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue