use unstone jstext for string creation

This commit is contained in:
2026-02-18 17:39:22 -06:00
parent 91b73f923a
commit 81561d426b
6 changed files with 207 additions and 251 deletions

View File

@@ -116,7 +116,7 @@ static void encode_js_object(json_encoder *enc, JSContext *js, JSValue obj) {
JS_FreeCString(js, key);
JS_FreeAtom(js, props[i].atom);
}
js_free(js, props);
js_free_rt(props);
}
enc->endTable(enc);
}