From d1cae6b37b81345c1e617437ed656300563b32e4 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Fri, 26 Dec 2014 06:42:40 -0800 Subject: [PATCH] Fix a comment to indicate that TALLOC_FREE must be used to free an allocated array of strings. Signed-off-by: Richard Sharpe Reviewed-by: Volker Lendecke Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Fri Dec 26 22:54:51 CET 2014 on sn-devel-104 --- source3/lib/util_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.11.4.GIT