[coverity] 1543139 Resource leak

This commit is contained in:
akallabeth 2024-04-11 13:09:23 +02:00 committed by Martin Fleisz
parent dc488c5e23
commit 5862537471

View File

@ -199,6 +199,8 @@ static BOOL wst_recv_auth_token(rdpCredsspAuth* auth, HttpResponse* response)
authToken.cbBuffer = authTokenLength;
credssp_auth_take_input_buffer(auth, &authToken);
}
else
free(authTokenData);
rc = credssp_auth_authenticate(auth);
if (rc < 0)