From: Dana Jansens Date: Thu, 3 Jun 2010 15:56:15 +0000 (-0400) Subject: free the path dirs X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=19e051a46601d7190dabfabcf886b1e17567ac8c;p=chaz%2Fopenbox free the path dirs --- 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);