[coverity] 1543259 Resource leak
This commit is contained in:
parent
4236f46b33
commit
8d9244cb3d
@ -742,6 +742,8 @@ static BOOL rdg_recv_auth_token(wLog* log, rdpCredsspAuth* auth, HttpResponse* r
|
|||||||
authToken.cbBuffer = authTokenLength;
|
authToken.cbBuffer = authTokenLength;
|
||||||
credssp_auth_take_input_buffer(auth, &authToken);
|
credssp_auth_take_input_buffer(auth, &authToken);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
free(authTokenData);
|
||||||
|
|
||||||
rc = credssp_auth_authenticate(auth);
|
rc = credssp_auth_authenticate(auth);
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user