]> Dogcows Code - chaz/openbox/commitdiff
free the data paths
authorDana Jansens <danakj@orodu.net>
Fri, 10 Oct 2003 05:36:30 +0000 (05:36 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 10 Oct 2003 05:36:30 +0000 (05:36 +0000)
parser/parse.c

index 08d86ed0cb604318b0add1b9f126555c12b78440..933ca4bc7f56e24bd87c5c281e45f66247a0af46 100644 (file)
@@ -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)
This page took 0.028249 seconds and 4 git commands to generate.