Searched refs:xdgFreeStringList (Results 1 – 2 of 2) sorted by relevance
131 static void xdgFreeStringList(char** list) in xdgFreeStringList() function166 xdgFreeStringList(cache->searchableDataDirectories); in xdgFreeData()168 xdgFreeStringList(cache->searchableConfigDirectories); in xdgFreeData()214 if (!(itemlist[i] = (char*)malloc(j+1))) { xdgFreeStringList(itemlist); return 0; } in xdgSplitPath()269 if (!(item = strdup(defaults[i]))) { xdgFreeStringList(itemlist); return NULL; } in xdgGetPathListEnv()384 xdgFreeStringList(envlist); in xdgGetDirectoryLists()668 if (!handle) xdgFreeStringList((char**)dirs); in xdgDataFind()676 if (!handle) xdgFreeStringList((char**)dirs); in xdgConfigFind()684 if (!handle) xdgFreeStringList((char**)dirs); in xdgDataOpen()692 if (!handle) xdgFreeStringList((char**)dirs); in xdgConfigOpen()
134 static void xdgFreeStringList(char** list) in xdgFreeStringList() function164 xdgFreeStringList(cache->searchableDataDirectories); in xdgFreeData()166 xdgFreeStringList(cache->searchableConfigDirectories); in xdgFreeData()236 if (!(itemlist[i] = (char*)malloc(j+1))) { xdgFreeStringList(itemlist); return NULL; } in xdgSplitPath()292 if (!(item = (char*)malloc(strlen(strings[i])+1))) { xdgFreeStringList(itemlist); return NULL; } in xdgGetPathListEnv()356 xdgFreeStringList(itemlist); in xdgUpdateDirectoryLists()369 xdgFreeStringList(itemlist); in xdgUpdateDirectoryLists()