From ef54ca590d49666b2f9df75c5c08537bee139819 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 28 Jul 2007 15:38:02 -0400 Subject: [PATCH] initialize the lists to NULL (empty) --- obt/paths.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.44.0