mirror of
https://github.com/reactos/reactos.git
synced 2024-09-14 06:42:52 +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
|
@ -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…
Reference in a new issue