transport: set pointers to NULL after free

This commit is contained in:
Bernhard Miklautz 2013-10-16 12:26:11 +02:00
parent 093470673e
commit e6b1974a37
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}