]> Dogcows Code - chaz/openbox/commitdiff
initialize the lists to NULL (empty)
authorDana Jansens <danakj@orodu.net>
Sat, 28 Jul 2007 19:38:02 +0000 (15:38 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 20 Jan 2008 06:36:55 +0000 (01:36 -0500)
obt/paths.c

index 6357b777dc3ae11dc990380b649f448d58907b6a..c43d48b87e4ae33a9998fd592c222b0c03b65810 100644 (file)
@@ -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");
This page took 0.02439 seconds and 4 git commands to generate.