[core,transport] check for rdstls == NULL

This commit is contained in:
akallabeth 2023-03-08 14:09:12 +01:00 committed by Martin Fleisz
parent 093bf79837
commit 4154bc500e

View File

@ -383,6 +383,9 @@ BOOL transport_connect_rdstls(rdpTransport* transport)
goto fail;
rdstls = rdstls_new(context, transport);
if (!rdstls)
goto fail;
transport_set_rdstls_mode(transport, TRUE);
if (rdstls_authenticate(rdstls) < 0)