diff options
author | taiyu <taiyu.len@gmail.com> | 2015-08-23 19:09:18 -0700 |
---|---|---|
committer | taiyu <taiyu.len@gmail.com> | 2015-08-23 19:09:18 -0700 |
commit | c8415d7fef53a9efa776dcbbaa2c9c2d76ff8b49 (patch) | |
tree | 6316fab4aff82a5f3a6dbba2dc4057dd2a2d880d /include | |
parent | 9a7f48f87272dea8cb1e678673b2fe95dc993d68 (diff) |
split_string memory leaks cleanedup
Diffstat (limited to 'include')
-rw-r--r-- | include/stringop.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/stringop.h b/include/stringop.h index 4300f9ed..7d17af95 100644 --- a/include/stringop.h +++ b/include/stringop.h @@ -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); |