Skip to content

Fix use of js_malloc_usable_size #544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Fix use of js_malloc_usable_size #544

merged 1 commit into from
Sep 24, 2024

Conversation

saghul
Copy link
Contributor

@saghul saghul commented Sep 24, 2024

Make sure the one set in the malloc functions is used rather than the default one, since it will likely use a different allocator.

For some reason, this didn't cause a problem on macOS, but it does in Linux. Opsie! Added some CI to prevent these kinds of bugs.

@saghul saghul force-pushed the fix-malloc-usable-size branch 5 times, most recently from 96799fd to 43cfa42 Compare September 24, 2024 08:52
Make sure the one set in the malloc functions is used rather than the
default one, since it will likely use a different allocator.

For some reason, this didn't cause a problem on macOS, but it does in
Linux. Opsie! Added some CI to prevent these kinds of bugs.
@saghul saghul force-pushed the fix-malloc-usable-size branch from 43cfa42 to 7e151e1 Compare September 24, 2024 09:36
@saghul
Copy link
Contributor Author

saghul commented Sep 24, 2024

Will do a .1 release after this, since the custom allocator thing got botched :-/

@saghul saghul merged commit c963112 into master Sep 24, 2024
52 checks passed
@saghul saghul deleted the fix-malloc-usable-size branch September 24, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants