Fix a comment to indicate that TALLOC_FREE must be used to free an allocated array...
authorRichard Sharpe <realrichardsharpe@gmail.com>
Fri, 26 Dec 2014 14:42:40 +0000 (06:42 -0800)
committerVolker Lendecke <vl@samba.org>
Fri, 26 Dec 2014 21:54:51 +0000 (22:54 +0100)
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

source3/lib/util_file.c

index 27a078fe79a17a1c33c3d00b9ffd576badfc972b..a603f018870822e27e2dc2bb801bcdacf45d94ba 100644 (file)
@@ -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)