Fixed sample client resource cleanup

This commit is contained in:
akallabeth 2020-05-18 10:26:09 +02:00 committed by akallabeth
parent c11939e325
commit 9ae6915025
1 changed files with 4 additions and 1 deletions

View File

@ -342,7 +342,10 @@ int main(int argc, char* argv[])
freerdp_client_settings_command_line_status_print(context->settings, status, argc, argv);
if (status)
return 0;
{
rc = 0;
goto fail;
}
if (freerdp_client_start(context) != 0)
goto fail;