mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
- Use ZwClose instead of NtClose
svn path=/trunk/; revision=40411
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user