mirror of https://github.com/FreeRDP/FreeRDP
May crash if GetCommandLineW failed
This commit is contained in:
parent
84493d0039
commit
b8c64b6bf3
|
@ -54,7 +54,7 @@ INT WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
|||
RDP_CLIENT_ENTRY_POINTS clientEntryPoints;
|
||||
int ret = 1;
|
||||
int argc = 0, i;
|
||||
LPWSTR* args;
|
||||
LPWSTR* args = NULL;
|
||||
LPWSTR cmd;
|
||||
char** argv;
|
||||
ZeroMemory(&clientEntryPoints, sizeof(RDP_CLIENT_ENTRY_POINTS));
|
||||
|
|
Loading…
Reference in New Issue