mirror of
https://github.com/bellard/quickjs.git
synced 2025-09-30 15:04:24 +03:00
export JS_FreePropertyEnum()
This commit is contained in:
@@ -2938,9 +2938,7 @@ static char **build_envp(JSContext *ctx, JSValueConst obj)
|
||||
JS_FreeCString(ctx, str);
|
||||
}
|
||||
done:
|
||||
for(i = 0; i < len; i++)
|
||||
JS_FreeAtom(ctx, tab[i].atom);
|
||||
js_free(ctx, tab);
|
||||
JS_FreePropertyEnum(ctx, tab, len);
|
||||
return envp;
|
||||
fail:
|
||||
if (envp) {
|
||||
|
Reference in New Issue
Block a user