Skip to content

Commit acffa31

Browse files
author
Guy Bedford
authored
fix: reenable free (#132)
1 parent 9af4e67 commit acffa31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

embedding/embedding.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ static bool ReallocFn(JSContext *cx, unsigned argc, JS::Value *vp) {
445445

446446
void cabi_free(void *ptr) {
447447
LOG("(cabi_free) %d", (uint32_t)ptr);
448-
// JS_free(Runtime.cx, ptr);
448+
JS_free(Runtime.cx, ptr);
449449
}
450450

451451
const char *core_ty_str(CoreVal ty) {

0 commit comments

Comments
 (0)