[winpr,timezone] fix NULL strdup
This commit is contained in:
parent
e037f643ea
commit
a86ca848d5
@ -110,7 +110,7 @@ static char* topath(const char* base, const char* bname, const char* name)
|
||||
return _strdup(base);
|
||||
|
||||
if (!base && !bname)
|
||||
return _strdup(bname);
|
||||
return _strdup(name);
|
||||
|
||||
if (!base)
|
||||
winpr_asprintf(&path, &plen, "%s/%s", bname, name);
|
||||
|
Loading…
Reference in New Issue
Block a user