From: Arran Cudbard-Bell Date: Thu, 17 Oct 2019 12:55:50 +0000 (-0400) Subject: Accidentally comitted X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e70eb98f727cc66a3e4e6783d8c6faba5fc725d1;p=thirdparty%2Ffreeradius-server.git Accidentally comitted --- diff --git a/src/lib/unlang/parallel.c b/src/lib/unlang/parallel.c index 83155ef7754..4834bfd37fc 100644 --- a/src/lib/unlang/parallel.c +++ b/src/lib/unlang/parallel.c @@ -397,10 +397,10 @@ static unlang_action_t unlang_parallel(REQUEST *request, rlm_rcode_t *presult) /* * Allocate an array for the children. */ - frame->state = state = talloc_zero_array(request, - sizeof(unlang_parallel_state_t) + - sizeof(state->children[0]) * - g->num_children); + frame->state = state = talloc_zero_size(request, + sizeof(unlang_parallel_state_t) + + sizeof(state->children[0]) * + g->num_children); if (!state) { *presult = RLM_MODULE_FAIL; return UNLANG_ACTION_CALCULATE_RESULT;