1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

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
This commit is contained in:
Richard Sharpe 2014-12-26 06:42:40 -08:00 committed by Volker Lendecke
parent 2fdc551603
commit d1cae6b37b

View 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 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) char **file_lines_pload(const char *syscmd, int *numlines)