]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add MEM(). CID #1503919
authorAlan T. DeKok <aland@freeradius.org>
Thu, 14 Apr 2022 19:16:42 +0000 (15:16 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 14 Apr 2022 19:16:42 +0000 (15:16 -0400)
src/lib/unlang/interpret.c

index c748cc6fea4f8bb9bd9d85fd04df8d354731e8fb..c2069fcb86c04a69978d200503cebc8c7ff2a741 100644 (file)
@@ -931,7 +931,7 @@ void *unlang_interpret_stack_alloc(TALLOC_CTX *ctx)
         *      This number is pretty arbitrary, but it seems
         *      like too low level to make into a tuneable.
         */
-       stack = talloc_zero_pooled_object(ctx, unlang_stack_t, UNLANG_STACK_MAX, 128);  /* 128 bytes per state */
+       MEM(stack = talloc_zero_pooled_object(ctx, unlang_stack_t, UNLANG_STACK_MAX, 128));     /* 128 bytes per state */
        stack->result = RLM_MODULE_NOT_SET;
 
        return stack;