Fixed coverity issue 1047624

This commit is contained in:
Armin Novak 2013-08-28 16:08:40 +02:00
parent caecdba4c8
commit a7b77db020
1 changed files with 5 additions and 0 deletions

View File

@ -279,6 +279,11 @@ int freerdp_client_old_command_line_pre_filter(void* context, int index, int arg
} }
} }
for (i=0; i<args->argc; i++)
free(args->argv[i]);
free(args->argv);
free(args);
return (index - old_index); return (index - old_index);
} }