[njs] Fixed memory freeing in njs_vm_compile().
Dmitry Volyntsev
xeioex at nginx.com
Sat Jun 11 07:16:58 UTC 2022
details: https://hg.nginx.org/njs/rev/e38e175c0063
branches:
changeset: 1886:e38e175c0063
user: Dmitry Volyntsev <xeioex at nginx.com>
date: Sat Jun 11 00:15:29 2022 -0700
description:
Fixed memory freeing in njs_vm_compile().
diffstat:
src/njs_vm.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diffs (12 lines):
diff -r cb0b5507ffe6 -r e38e175c0063 src/njs_vm.c
--- a/src/njs_vm.c Sat Jun 11 00:15:28 2022 -0700
+++ b/src/njs_vm.c Sat Jun 11 00:15:29 2022 -0700
@@ -214,8 +214,6 @@ njs_vm_compile(njs_vm_t *vm, u_char **st
*new++ = *global++;
}
-
- njs_mp_free(vm->mem_pool, global);
}
}
More information about the nginx-devel
mailing list