From: Nick Porter Date: Mon, 6 Jun 2022 13:04:42 +0000 (+0100) Subject: Ensure arrays are zero alloced X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f0de9e53c116c9690ed198efbd23c52164d44f9;p=thirdparty%2Ffreeradius-server.git Ensure arrays are zero alloced --- diff --git a/src/lib/util/types.c b/src/lib/util/types.c index a94cb002a90..77be3744efd 100644 --- a/src/lib/util/types.c +++ b/src/lib/util/types.c @@ -616,5 +616,5 @@ void **fr_type_array_alloc(TALLOC_CTX *ctx, fr_type_t type, size_t count) return NULL; } - return _talloc_array(ctx, fr_type_to_c_size[type], count, c_type); + return _talloc_zero_array(ctx, fr_type_to_c_size[type], count, c_type); }