From 7ae36a21d031c3d71e9015823c61380f88b0595d Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Fri, 3 Jun 2022 00:50:12 +0200 Subject: requirements update --- src_c/common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src_c/common.c') diff --git a/src_c/common.c b/src_c/common.c index 066ff5a..01df99b 100644 --- a/src_c/common.c +++ b/src_c/common.c @@ -406,8 +406,7 @@ int opcut_params_init(hat_allocator_t *a, opcut_params_t *params, if (tokens_len < 0) return OPCUT_ERROR; - jsmntok_t *tokens = - hat_allocator_alloc(a, tokens_len * sizeof(jsmntok_t), NULL); + jsmntok_t *tokens = hat_allocator_alloc(a, tokens_len * sizeof(jsmntok_t)); if (!tokens) return OPCUT_ERROR; -- cgit v1.2.3-70-g09d2