X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=parser%2Fparse.c;h=933ca4bc7f56e24bd87c5c281e45f66247a0af46;hb=dc9c39d042c186126d83124ef815451a492fedb2;hp=08d86ed0cb604318b0add1b9f126555c12b78440;hpb=cd4377366c863e9d14717d80f8f60ef42a2f2db6;p=chaz%2Fopenbox 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)