Skip to content

Use js_free instead of bare free in api-test.c#1024

Merged
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:js-free
Apr 10, 2025
Merged

Use js_free instead of bare free in api-test.c#1024
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:js-free

Conversation

@bnoordhuis
Copy link
Copy Markdown
Contributor

Functionally a no-op when not using a custom allocator but it's more correct and ensures quickjs knows how much memory has been allocated.

Functionally a no-op when not using a custom allocator but it's more
correct and ensures quickjs knows how much memory has been allocated.
@bnoordhuis bnoordhuis merged commit 9de7277 into quickjs-ng:master Apr 10, 2025
123 of 124 checks passed
graham pushed a commit to graham/quickjs that referenced this pull request Apr 11, 2025
Functionally a no-op when not using a custom allocator but it's more
correct and ensures quickjs knows how much memory has been allocated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants