Free paths.
authorsebastid <sebastid>
Sun, 24 Sep 2006 12:51:22 +0000 (12:51 +0000)
committersebastid <sebastid@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 24 Sep 2006 12:51:22 +0000 (12:51 +0000)
SVN revision: 26093

legacy/ecore/src/lib/ecore_desktop/ecore_desktop_paths.c

index d56f9d0..96f86a4 100644 (file)
@@ -281,6 +281,8 @@ _ecore_desktop_paths_create(void)
 static void
 _ecore_desktop_paths_destroy(void)
 {
+   int i;
+
    E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_xsessions);
    E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_config);
    E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_directories);
@@ -288,6 +290,14 @@ _ecore_desktop_paths_destroy(void)
    E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_icons);
    E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_kde_legacy);
    E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_desktops);
+
+   for (i = 0; i < ECORE_DESKTOP_PATHS_MAX; i++)
+     {
+       E_FN_DEL(ecore_list_destroy, prepend_user_paths[i]);
+       E_FN_DEL(ecore_list_destroy, prepend_system_paths[i]);
+       E_FN_DEL(ecore_list_destroy, append_user_paths[i]);
+       E_FN_DEL(ecore_list_destroy, append_system_paths[i]);
+     }
 }
 
 EAPI void