Skip to content

Commit 9688007

Browse files
author
Fabrice Bellard
committed
Restore a mistakenly removed goto on error in js_build_module_ns() (igorburago)
1 parent b07ad11 commit 9688007

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎quickjs.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29735,6 +29735,7 @@ static JSValue js_build_module_ns(JSContext *ctx, JSModuleDef *m)
2973529735
en->export_name,
2973629736
JS_AUTOINIT_ID_MODULE_NS,
2973729737
m, JS_PROP_ENUMERABLE | JS_PROP_WRITABLE) < 0)
29738+
goto fail;
2973829739
break;
2973929740
default:
2974029741
break;

0 commit comments

Comments
 (0)