Merge pull request #554 from mfleisz/master
libfreerdp-sspi: Fixed possible crash when canceling a connection by not providing credentials
This commit is contained in:
commit
5c73ced09e
@ -1024,7 +1024,8 @@ void credssp_free(rdpCredssp* credssp)
|
||||
{
|
||||
if (credssp != NULL)
|
||||
{
|
||||
credssp->table->DeleteSecurityContext(&credssp->context);
|
||||
if (credssp->table)
|
||||
credssp->table->DeleteSecurityContext(&credssp->context);
|
||||
sspi_SecBufferFree(&credssp->PublicKey);
|
||||
sspi_SecBufferFree(&credssp->ts_credentials);
|
||||
freerdp_uniconv_free(credssp->uniconv);
|
||||
|
Loading…
Reference in New Issue
Block a user