summaryrefslogtreecommitdiff
path: root/source3/lib/util_file.c
diff options
context:
space:
mode:
authorRichard Sharpe <realrichardsharpe@gmail.com>2014-12-26 06:42:40 -0800
committerVolker Lendecke <vl@samba.org>2014-12-26 22:54:51 +0100
commitd1cae6b37b81345c1e617437ed656300563b32e4 (patch)
tree10673f7de14fa98a8ada06f1b407cb93239a1b8c /source3/lib/util_file.c
parent2fdc55160309cec89aeb88243cb18d058c67e918 (diff)
downloadsamba-d1cae6b37b81345c1e617437ed656300563b32e4.tar.gz
Fix a comment to indicate that TALLOC_FREE must be used to free an allocated array of strings.
Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Fri Dec 26 22:54:51 CET 2014 on sn-devel-104
Diffstat (limited to 'source3/lib/util_file.c')
-rw-r--r--source3/lib/util_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_file.c b/source3/lib/util_file.c
index 27a078fe79a..a603f018870 100644
--- a/source3/lib/util_file.c
+++ b/source3/lib/util_file.c
@@ -70,7 +70,7 @@ static char *file_pload(const char *syscmd, size_t *size)
/**
Load a pipe into memory and return an array of pointers to lines in the data
- must be freed with file_lines_free().
+ must be freed with TALLOC_FREE.
**/
char **file_lines_pload(const char *syscmd, int *numlines)