mirror of https://github.com/FreeRDP/FreeRDP
transport: set pointers to NULL after free
This commit is contained in:
parent
093470673e
commit
e6b1974a37
|
@ -121,10 +121,12 @@ boolean transport_connect_nla(rdpTransport* transport)
|
|||
"If credentials are valid, the NTLMSSP implementation may be to blame.\n");
|
||||
|
||||
credssp_free(transport->credssp);
|
||||
transport->credssp = NULL;
|
||||
return false;
|
||||
}
|
||||
|
||||
credssp_free(transport->credssp);
|
||||
transport->credssp = NULL;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue