[core,transport] free wst transport after use

This commit is contained in:
Michael Saxl 2023-07-04 17:36:48 +02:00 committed by akallabeth
parent c74a18c622
commit a5a60c888b

View File

@ -1488,6 +1488,12 @@ static BOOL transport_default_disconnect(rdpTransport* transport)
transport->rdg = NULL;
}
if (transport->wst)
{
wst_free(transport->wst);
transport->wst = NULL;
}
transport->frontBio = NULL;
transport->layer = TRANSPORT_LAYER_TCP;
transport->earlyUserAuth = FALSE;