channels/remdesk: Fix leak found by covscan
leaked_storage: Variable "pass" going out of scope leaks the storage it points to.
This commit is contained in:
parent
405c133381
commit
d3ab04d786
@ -109,6 +109,7 @@ static UINT remdesk_generate_expert_blob(remdeskPlugin* remdesk)
|
||||
}
|
||||
|
||||
remdesk->ExpertBlob = freerdp_assistance_construct_expert_blob(name, pass);
|
||||
free(pass);
|
||||
|
||||
if (!remdesk->ExpertBlob)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user