mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 23:07:18 +00:00
[CLIENT] Fixed invalid value initialization
This commit is contained in:
parent
80f5d3a660
commit
909606627f
@ -1602,8 +1602,9 @@ static bool load_config(const char * configFile)
|
|||||||
|
|
||||||
int main(int argc, char * argv[])
|
int main(int argc, char * argv[])
|
||||||
{
|
{
|
||||||
params.shmFile = strdup(params.shmFile );
|
params.shmFile = strdup(params.shmFile);
|
||||||
params.spiceHost = strdup(params.spiceHost);
|
params.spiceHost = strdup(params.spiceHost);
|
||||||
|
params.windowTitle = strdup(params.windowTitle);
|
||||||
|
|
||||||
{
|
{
|
||||||
// load any global then local config options first
|
// load any global then local config options first
|
||||||
@ -1885,6 +1886,7 @@ int main(int argc, char * argv[])
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
case 't':
|
case 't':
|
||||||
|
free(params.windowTitle);
|
||||||
params.windowTitle = strdup(optarg);
|
params.windowTitle = strdup(optarg);
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user