We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36478d3 commit 6d86e20Copy full SHA for 6d86e20
server/shadow/shadow_server.c
@@ -586,14 +586,19 @@ int shadow_server_start(rdpShadowServer* server)
586
char** list = CommandLineParseCommaSeparatedValuesEx(NULL, server->ipcSocket, &count);
587
if (!list || (count <= 1))
588
{
589
- free(list);
590
if (server->ipcSocket == NULL)
591
592
if (!open_port(server, NULL))
+ {
593
+ free(list);
594
return -1;
595
+ }
596
}
597
else
598
599
600
601
602
603
604
for (x = 1; x < count; x++)
0 commit comments