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