Updated list operations

This commit is contained in:
Scott Anderson 2017-05-13 14:10:11 +12:00
parent 508200e83d
commit 6b05f44339
5 changed files with 63 additions and 58 deletions

View file

@ -84,7 +84,7 @@ list_t *split_string(const char *str, const char *delims) {
}
void free_flat_list(list_t *list) {
list_free_with(list, list_elem_free);
list_free_withp(list, free);
}
char **split_args(const char *start, int *argc) {