diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-07-28 15:38:02 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-01-20 01:36:55 -0500 |
| commit | ef54ca590d49666b2f9df75c5c08537bee139819 (patch) | |
| tree | ba9c58c3022f5758866b1f89c3ba22101b7a847d | |
| parent | 07d5674d3984d008de1ecc768a296afbed731e4e (diff) | |
initialize the lists to NULL (empty)
| -rw-r--r-- | obt/paths.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |
