mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-02 14:15:46 +01:00
Fixed return of WMGetUDStringForKey to be only a reference, not an allocated
string.
This commit is contained in:
@@ -369,7 +369,7 @@ WMGetUDStringForKey(WMUserDefaults *database, char *defaultName)
|
||||
if (!PLIsString(val))
|
||||
return NULL;
|
||||
|
||||
return wstrdup(PLGetString(val));
|
||||
return PLGetString(val);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user