[coverity] 1543259 Resource leak

This commit is contained in:
akallabeth 2024-04-11 12:52:02 +02:00 committed by Martin Fleisz
parent 4236f46b33
commit 8d9244cb3d

View File

@ -742,6 +742,8 @@ static BOOL rdg_recv_auth_token(wLog* log, rdpCredsspAuth* auth, HttpResponse* r
authToken.cbBuffer = authTokenLength;
credssp_auth_take_input_buffer(auth, &authToken);
}
else
free(authTokenData);
rc = credssp_auth_authenticate(auth);
if (rc < 0)