diff --git a/reactos/drivers/network/tcpip/tcpip/dispatch.c b/reactos/drivers/network/tcpip/tcpip/dispatch.c index 316fe4b6a6e..989b6315185 100644 --- a/reactos/drivers/network/tcpip/tcpip/dispatch.c +++ b/reactos/drivers/network/tcpip/tcpip/dispatch.c @@ -618,9 +618,11 @@ NTSTATUS DispTdiListen( Connection->AddressFile->Protocol ); } - if( NT_SUCCESS(Status) ) + if( NT_SUCCESS(Status) ) { + ReferenceObject(Connection->AddressFile->Listener); Status = TCPListen( Connection->AddressFile->Listener, 1024 ); /* BACKLOG */ + } } if( NT_SUCCESS(Status) ) {