diff --git a/client/Windows/wf_client.c b/client/Windows/wf_client.c index 4fdd56c87..ceff1a2e7 100644 --- a/client/Windows/wf_client.c +++ b/client/Windows/wf_client.c @@ -537,6 +537,8 @@ BOOL wf_authenticate(freerdp* instance, char** username, char** password, char** if (strlen(Domain) > 0) *domain = _strdup(Domain); + else + *domain = _strdup("\0"); *password = _strdup(Password);