]> git.kaiwu.me - quickjs.git/commit
Check return values of fallible functions (#518)
authorbptato <60043228+bptato@users.noreply.github.com>
Thu, 4 Jun 2026 09:58:49 +0000 (11:58 +0200)
committerGitHub <noreply@github.com>
Thu, 4 Jun 2026 09:58:49 +0000 (11:58 +0200)
commitccfe0764eddc17bc531dcf9fc69f9ee3a2b3e0e2
treee149adb084fcd84cb280043974132fa7641d63ff
parent8b045501f92617951060ffb31f9db0be745195d9
Check return values of fallible functions (#518)

Port of https://github.com/quickjs-ng/quickjs/pull/1409 (bnoordhuis).
I modified it to prevent an atom leak in js_parse_statement_or_decl,
otherwise it's the same.
quickjs.c