diff --git a/client/common/cmdline.c b/client/common/cmdline.c index 0faf2f6f2..a681d3d2e 100644 --- a/client/common/cmdline.c +++ b/client/common/cmdline.c @@ -1153,6 +1153,8 @@ int freerdp_client_parse_command_line_arguments(int argc, char** argv, rdpSettin { settings->MonitorIds[i] = atoi(p[i]); } + + free(p); } } CommandLineSwitchCase(arg, "monitor-list")