initialize the lists to NULL (empty)
This commit is contained in:
parent
07d5674d39
commit
ef54ca590d
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ ObtPaths* obt_paths_new(void)
|
||||||
ObtPaths *p;
|
ObtPaths *p;
|
||||||
const gchar *path;
|
const gchar *path;
|
||||||
|
|
||||||
p = g_new(ObtPaths, 1);
|
p = g_new0(ObtPaths, 1);
|
||||||
p->ref = 1;
|
p->ref = 1;
|
||||||
|
|
||||||
path = g_getenv("XDG_CONFIG_HOME");
|
path = g_getenv("XDG_CONFIG_HOME");
|
||||||
|
|
Loading…
Reference in a new issue