From 19e051a46601d7190dabfabcf886b1e17567ac8c Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 3 Jun 2010 11:56:15 -0400 Subject: [PATCH] free the path dirs --- obt/paths.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.45.2