Fixed memory leak.

This commit is contained in:
Armin Novak 2014-11-17 01:16:56 +01:00
parent bc963c43d8
commit deef61dfd0

View File

@ -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++;