Compare commits

..

1 Commits

2 changed files with 2 additions and 4 deletions

View File

@ -40802,10 +40802,8 @@ done:
goto exception; goto exception;
args[0] = ret; args[0] = ret;
res = JS_Invoke(ctx, arr, JS_ATOM_set, 1, args); res = JS_Invoke(ctx, arr, JS_ATOM_set, 1, args);
if (check_exception_free(ctx, res)) { if (check_exception_free(ctx, res))
JS_FreeValue(ctx, arr);
goto exception; goto exception;
}
JS_FreeValue(ctx, ret); JS_FreeValue(ctx, ret);
ret = arr; ret = arr;
} }

View File

@ -174,7 +174,7 @@ cp Makefile VERSION TODO Changelog readme.txt LICENSE \
cp tests/*.js tests/*.patch tests/bjson.c $outdir/tests cp tests/*.js tests/*.patch tests/bjson.c $outdir/tests
cp examples/*.js examples/*.c examples/*.json $outdir/examples cp examples/*.js examples/*.c $outdir/examples
cp doc/quickjs.texi doc/quickjs.pdf doc/quickjs.html \ cp doc/quickjs.texi doc/quickjs.pdf doc/quickjs.html \
$outdir/doc $outdir/doc