Fixed argument checks in <transport_disconnect>
This commit is contained in:
parent
72770c8c43
commit
31ffb498f8
@ -74,6 +74,9 @@ BOOL transport_disconnect(rdpTransport* transport)
|
||||
{
|
||||
BOOL status = TRUE;
|
||||
|
||||
if (!transport)
|
||||
return FALSE;
|
||||
|
||||
if (transport->layer == TRANSPORT_LAYER_TLS)
|
||||
status &= tls_disconnect(transport->TlsIn);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user