diff --git a/obt/paths.c b/obt/paths.c index 6357b777..c43d48b8 100644 --- a/obt/paths.c +++ b/obt/paths.c @@ -79,7 +79,7 @@ ObtPaths* obt_paths_new(void) ObtPaths *p; const gchar *path; - p = g_new(ObtPaths, 1); + p = g_new0(ObtPaths, 1); p->ref = 1; path = g_getenv("XDG_CONFIG_HOME");