mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 08:24:16 +09:00
[winpr,warnings] properly handle function return
This commit is contained in:
@@ -1567,9 +1567,7 @@ static SECURITY_STATUS SEC_ENTRY negotiate_QueryCredentialsAttributesA(
|
||||
|
||||
static SECURITY_STATUS SEC_ENTRY negotiate_FreeCredentialsHandle(PCredHandle phCredential)
|
||||
{
|
||||
MechCred* creds = NULL;
|
||||
|
||||
creds = sspi_SecureHandleGetLowerPointer(phCredential);
|
||||
MechCred* creds = sspi_SecureHandleGetLowerPointer(phCredential);
|
||||
if (!creds)
|
||||
return SEC_E_INVALID_HANDLE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user