From: Dmitry Volyntsev Date: Sat, 11 Jun 2022 07:15:29 +0000 (-0700) Subject: Fixed memory freeing in njs_vm_compile(). X-Git-Tag: 0.7.5~6 X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=a80755740f561d2eb9b30ebd2a5b3e90e59c63d0;p=njs.git Fixed memory freeing in njs_vm_compile(). --- 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); } }