aboutsummaryrefslogtreecommitdiff
path: root/src_c/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src_c/common.c')
-rw-r--r--src_c/common.c3
1 files changed, 1 insertions, 2 deletions
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;