[njs] Added missed njs_parser_failed() in njs_parser_module_lambda_after().
Dmitry Volyntsev
xeioex at nginx.com
Wed Dec 22 16:55:09 UTC 2021
details: https://hg.nginx.org/njs/rev/6906e8a60d3a
branches:
changeset: 1775:6906e8a60d3a
user: Zhidao HONG <z.hong at f5.com>
date: Wed Dec 22 10:50:16 2021 +0800
description:
Added missed njs_parser_failed() in njs_parser_module_lambda_after().
diffstat:
src/njs_module.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 9b8ec2a9e9b2 -r 6906e8a60d3a src/njs_module.c
--- a/src/njs_module.c Wed Dec 22 10:50:16 2021 +0800
+++ b/src/njs_module.c Wed Dec 22 10:50:16 2021 +0800
@@ -245,6 +245,8 @@ njs_parser_module_lambda_after(njs_parse
if (temp->text.start != NULL) {
njs_mp_free(parser->vm->mem_pool, temp->text.start);
}
+
+ return njs_parser_failed(parser);
}
module->function.args_offset = 1;
More information about the nginx-devel
mailing list