diff options
author | Volker Lendecke <vl@samba.org> | 2008-02-04 21:05:41 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-02-04 21:05:41 +0100 |
commit | b361956942618ec2f7c2efc60cb190858adbc516 (patch) | |
tree | bac3c4bc6749507efbf028d261cfba524a186639 /source3/lib | |
parent | 2762b9a97582b9b28fd5985ba8e3d0299126820e (diff) | |
download | samba-b361956942618ec2f7c2efc60cb190858adbc516.tar.gz samba-b361956942618ec2f7c2efc60cb190858adbc516.tar.bz2 samba-b361956942618ec2f7c2efc60cb190858adbc516.zip |
str_list_free is not needed anymore
(This used to be commit feddc1447d585fd108d22a36bccc576fa81197ef)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_str.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c index fb3392f041..93ecad728d 100644 --- a/source3/lib/util_str.c +++ b/source3/lib/util_str.c @@ -1841,8 +1841,7 @@ int fstr_sprintf(fstring s, const char *fmt, ...) #define S_LIST_ABS 16 /* List Allocation Block Size */ -static char **str_list_make_internal(TALLOC_CTX *mem_ctx, const char *string, - const char *sep) +char **str_list_make(TALLOC_CTX *mem_ctx, const char *string, const char *sep) { char **list; const char *str; @@ -1902,11 +1901,6 @@ static char **str_list_make_internal(TALLOC_CTX *mem_ctx, const char *string, return list; } -char **str_list_make(TALLOC_CTX *mem_ctx, const char *string, const char *sep) -{ - return str_list_make_internal(mem_ctx, string, sep); -} - bool str_list_copy(TALLOC_CTX *mem_ctx, char ***dest, const char **src) { char **list; @@ -1960,16 +1954,6 @@ bool str_list_compare(char **list1, char **list2) return true; } -void str_list_free_talloc(TALLOC_CTX *mem_ctx, char ***list) -{ - TALLOC_FREE(*list); -} - -void str_list_free(char ***list) -{ - TALLOC_FREE(*list); -} - /****************************************************************************** *****************************************************************************/ |