mirror of https://github.com/FreeRDP/FreeRDP
Merge pull request #5218 from ckelsel/master
May crash if GetCommandLineW failed
This commit is contained in:
commit
7d226ca596
|
@ -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