mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 08:41:23 +00:00
- Use ZwClose instead of NtClose
svn path=/trunk/; revision=40411
This commit is contained in:
parent
03bd723a8b
commit
7025dd53e2
1 changed files with 2 additions and 2 deletions
|
@ -222,12 +222,12 @@ VOID CleanupSocket( PAFD_FCB FCB ) {
|
||||||
FCB->RemoteAddress = NULL;
|
FCB->RemoteAddress = NULL;
|
||||||
}
|
}
|
||||||
if( FCB->Connection.Object ) {
|
if( FCB->Connection.Object ) {
|
||||||
NtClose(FCB->Connection.Handle);
|
ZwClose(FCB->Connection.Handle);
|
||||||
ObDereferenceObject(FCB->Connection.Object);
|
ObDereferenceObject(FCB->Connection.Object);
|
||||||
FCB->Connection.Object = NULL;
|
FCB->Connection.Object = NULL;
|
||||||
}
|
}
|
||||||
if( FCB->AddressFile.Object ) {
|
if( FCB->AddressFile.Object ) {
|
||||||
NtClose(FCB->AddressFile.Handle);
|
ZwClose(FCB->AddressFile.Handle);
|
||||||
ObDereferenceObject(FCB->AddressFile.Object);
|
ObDereferenceObject(FCB->AddressFile.Object);
|
||||||
FCB->AddressFile.Object = NULL;
|
FCB->AddressFile.Object = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue