From a80755740f561d2eb9b30ebd2a5b3e90e59c63d0 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Sat, 11 Jun 2022 00:15:29 -0700 Subject: [PATCH] Fixed memory freeing in njs_vm_compile(). --- src/njs_vm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/njs_vm.c b/src/njs_vm.c index 2c0099fa..c1e422bd 100644 --- a/src/njs_vm.c +++ b/src/njs_vm.c @@ -214,8 +214,6 @@ njs_vm_compile(njs_vm_t *vm, u_char **start, u_char *end) *new++ = *global++; } - - njs_mp_free(vm->mem_pool, global); } } -- 2.47.3