free the path dirs
This commit is contained in:
parent
475961e17f
commit
19e051a466
1 changed files with 3 additions and 0 deletions
|
@ -231,6 +231,9 @@ void obt_paths_unref(ObtPaths *p)
|
||||||
for (it = p->autostart_dirs; it; it = g_slist_next(it))
|
for (it = p->autostart_dirs; it; it = g_slist_next(it))
|
||||||
g_free(it->data);
|
g_free(it->data);
|
||||||
g_slist_free(p->autostart_dirs);
|
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->config_home);
|
||||||
g_free(p->data_home);
|
g_free(p->data_home);
|
||||||
g_free(p->cache_home);
|
g_free(p->cache_home);
|
||||||
|
|
Loading…
Reference in a new issue