Fixed memory leak.
This commit is contained in:
parent
bc963c43d8
commit
deef61dfd0
@ -168,7 +168,10 @@ int freerdp_assistance_parse_address_list(rdpAssistanceFile* file, char* list)
|
||||
q = strchr(p, ':');
|
||||
|
||||
if (!q)
|
||||
{
|
||||
free(tokens);
|
||||
return -1;
|
||||
}
|
||||
|
||||
q[0] = '\0';
|
||||
q++;
|
||||
|
Loading…
Reference in New Issue
Block a user