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:
Ondrej Holy 2018-08-17 13:52:38 +02:00
parent 405c133381
commit d3ab04d786

View File

@ -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)
{