From: Dana Jansens Date: Sat, 28 Jul 2007 19:38:02 +0000 (-0400) Subject: initialize the lists to NULL (empty) X-Git-Tag: release-3.5.0~424 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=ef54ca590d49666b2f9df75c5c08537bee139819;p=dana%2Fopenbox.git initialize the lists to NULL (empty) --- 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");