mirror of
https://github.com/bellard/quickjs.git
synced 2026-04-04 06:08:01 +00:00
add missing goto on error in js_build_module_ns()
The goto in question was accidentally removed in 159fe28.
This commit is contained in:
parent
080c01f346
commit
3691f441f7
@ -29728,7 +29728,9 @@ static JSValue js_build_module_ns(JSContext *ctx, JSModuleDef *m)
|
||||
if (JS_DefineAutoInitProperty(ctx, obj,
|
||||
en->export_name,
|
||||
JS_AUTOINIT_ID_MODULE_NS,
|
||||
m, JS_PROP_ENUMERABLE | JS_PROP_WRITABLE) < 0)
|
||||
m, JS_PROP_ENUMERABLE | JS_PROP_WRITABLE) < 0) {
|
||||
goto fail;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user