]> git.kaiwu.me - njs.git/commit
QuickJS: fix fetch() init property value leaks
authorDmitry Volyntsev <xeioex@nginx.com>
Fri, 12 Jun 2026 00:34:23 +0000 (17:34 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Fri, 12 Jun 2026 03:26:59 +0000 (20:26 -0700)
commita0bc03dcf682417ffb8bd8fbafc311705a743427
tree7f03d8f53dcdc036e9b45362ed946e0b73b41c9a
parentabd33656883cde9db4daa5a033d099d60c3380f4
QuickJS: fix fetch() init property value leaks

Previously, the values of the buffer_size, max_response_body_size
and verify init properties were not released after conversion,
leaking heap values such as objects with a valueOf() method.
nginx/ngx_qjs_fetch.c