diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-10-10 05:36:30 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-10-10 05:36:30 +0000 |
| commit | 26b98ded3cde7244794b2921dfa488a8c13ffea4 (patch) | |
| tree | 2f46a1bc3c3c194f7a45fc3ce30c4d998ade0fdd /parser/parse.c | |
| parent | 6a00a44b999905538d86fc3d6609a0cbce781d5f (diff) | |
free the data paths
Diffstat (limited to 'parser/parse.c')
| -rw-r--r-- | parser/parse.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/parser/parse.c b/parser/parse.c index 08d86ed0..933ca4bc 100644 --- a/parser/parse.c +++ b/parser/parse.c @@ -348,6 +348,10 @@ void parse_paths_shutdown() g_free(it->data); g_slist_free(xdg_config_dir_paths); xdg_config_dir_paths = NULL; + for (it = xdg_data_dir_paths; it; it = g_slist_next(it)) + g_free(it->data); + g_slist_free(xdg_data_dir_paths); + xdg_data_dir_paths = NULL; } gchar *parse_expand_tilde(const gchar *f) |
