X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=obt%2Fpaths.c;h=c43d48b87e4ae33a9998fd592c222b0c03b65810;hb=ef54ca590d49666b2f9df75c5c08537bee139819;hp=6357b777dc3ae11dc990380b649f448d58907b6a;hpb=07d5674d3984d008de1ecc768a296afbed731e4e;p=chaz%2Fopenbox 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");