diff options
-rw-r--r-- | lib/util/params.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/params.c b/lib/util/params.c index 45fcd5bdc8..3f1d535999 100644 --- a/lib/util/params.c +++ b/lib/util/params.c @@ -556,7 +556,7 @@ bool pm_process( const char *FileName, else /* If we don't have a buffer */ { /* allocate one, then parse, */ InFile->bSize = BUFR_INC; /* then free. */ - InFile->bufr = talloc_array(InFile, char, InFile->bSize ); + InFile->bufr = talloc_zero_array(InFile, char, InFile->bSize ); if( NULL == InFile->bufr ) { DEBUG(0,("%s memory allocation failure.\n", func)); |