[CLIENT] Fixed invalid value initialization

This commit is contained in:
NamoDev 2019-03-14 09:23:31 -04:00 committed by Geoffrey McRae
parent 80f5d3a660
commit 909606627f

View file

@ -1604,6 +1604,7 @@ int main(int argc, char * argv[])
{
params.shmFile = strdup(params.shmFile);
params.spiceHost = strdup(params.spiceHost);
params.windowTitle = strdup(params.windowTitle);
{
// load any global then local config options first
@ -1885,6 +1886,7 @@ int main(int argc, char * argv[])
continue;
case 't':
free(params.windowTitle);
params.windowTitle = strdup(optarg);
continue;