static void clean_sort_keys (dir_list * list, int start, int count) { int i; for (i = 0; i < count; i++) { str_release_key (list->list[i + start].sort_key, case_sensitive); list->list[i + start].sort_key = NULL; str_release_key (list->list[i + start].second_sort_key, case_sensitive); list->list[i + start].second_sort_key = NULL; } }
static void clean_sort_keys (dir_list * list, int start, int count) { int i; for (i = 0; i < count; i++) { file_entry_t *fentry; fentry = &list->list[i + start]; str_release_key (fentry->sort_key, case_sensitive); fentry->sort_key = NULL; str_release_key (fentry->second_sort_key, case_sensitive); fentry->second_sort_key = NULL; } }