split_string memory leaks cleanedup

This commit is contained in:
taiyu 2015-08-23 19:09:18 -07:00
parent 9a7f48f872
commit c8415d7fef
4 changed files with 11 additions and 7 deletions

View file

@ -4,8 +4,11 @@
char *strip_whitespace(char *str, int *trimmed_start);
char *strip_comments(char *str);
// Must be freed with free_flat_list
list_t *split_string(const char *str, const char *delims);
void free_flat_list(list_t *list);
char *code_strchr(const char *string, char delimiter);
char *code_strstr(const char *haystack, const char *needle);
int unescape_string(char *string);