summaryrefslogtreecommitdiff
path: root/obt/paths.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-06-03 11:56:15 -0400
committerDana Jansens <danakj@orodu.net>2010-06-03 11:56:15 -0400
commit19e051a46601d7190dabfabcf886b1e17567ac8c (patch)
tree813db4571de05b60731c5f06f49dd70cb7bdc523 /obt/paths.c
parent475961e17fd58a18f6137aefdc6e52578ce46d41 (diff)
free the path dirs
Diffstat (limited to 'obt/paths.c')
-rw-r--r--obt/paths.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/obt/paths.c b/obt/paths.c
index b20eb48d..bd6c177a 100644
--- a/obt/paths.c
+++ b/obt/paths.c
@@ -231,6 +231,9 @@ void obt_paths_unref(ObtPaths *p)
for (it = p->autostart_dirs; it; it = g_slist_next(it))
g_free(it->data);
g_slist_free(p->autostart_dirs);
+ for (it = p->exec_dirs; it; it = g_slist_next(it))
+ g_free(it->data);
+ g_slist_free(p->exec_dirs);
g_free(p->config_home);
g_free(p->data_home);
g_free(p->cache_home);