diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/cfgfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index a49e17ae..f68892e4 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -718,7 +718,7 @@ load_default_config(void) gchar* roaming_path; #endif - username = g_get_user_name (); + username = g_strdup(g_get_user_name ()); if (!username) username = g_strdup ("root"); |