mirror of
https://github.com/reactos/reactos.git
synced 2024-09-13 22:31:34 +00:00
- Use ZwClose instead of NtClose
svn path=/trunk/; revision=40411
This commit is contained in:
parent
03bd723a8b
commit
7025dd53e2
|
@ -222,12 +222,12 @@ VOID CleanupSocket( PAFD_FCB FCB ) {
|
|||
FCB->RemoteAddress = NULL;
|
||||
}
|
||||
if( FCB->Connection.Object ) {
|
||||
NtClose(FCB->Connection.Handle);
|
||||
ZwClose(FCB->Connection.Handle);
|
||||
ObDereferenceObject(FCB->Connection.Object);
|
||||
FCB->Connection.Object = NULL;
|
||||
}
|
||||
if( FCB->AddressFile.Object ) {
|
||||
NtClose(FCB->AddressFile.Handle);
|
||||
ZwClose(FCB->AddressFile.Handle);
|
||||
ObDereferenceObject(FCB->AddressFile.Object);
|
||||
FCB->AddressFile.Object = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue