mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 22:12:05 +00:00
- Don't close the connection handle and dereference the connection object when we run out of memory because it will cause a crash when AfdCleanupSocket tries to do the same
- Fixes bug 4362 svn path=/trunk/; revision=40471
This commit is contained in:
parent
d418f42b89
commit
9db17d5384
1 changed files with 0 additions and 3 deletions
|
@ -143,9 +143,6 @@ static NTSTATUS NTAPI ListenComplete
|
|||
|
||||
Qelt = ExAllocatePool( NonPagedPool, sizeof(*Qelt) );
|
||||
if( !Qelt ) {
|
||||
/* Is this correct? */
|
||||
TdiCloseDevice( FCB->Connection.Handle,
|
||||
FCB->Connection.Object );
|
||||
Status = STATUS_NO_MEMORY;
|
||||
} else {
|
||||
UINT AddressType =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue