Skip to content
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

Reapply "Prefer calloc over of malloc+zeroMemory. NFC" #22596

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Sep 19, 2024

This reverts commit 50e0b07.

This change also adds calloc to the list of symbols that we provide emscripten_builtin_ variants for.

@sbc100 sbc100 requested a review from dschuff September 19, 2024 23:56
@sbc100
Copy link
Collaborator Author

sbc100 commented Sep 19, 2024

See the second commit in this PR for the fix to the lsan issue.

@dschuff
Copy link
Member

dschuff commented Sep 20, 2024

LGTM; can you also mention in the commit message that this makes the calloc symbol handled more like malloc and free?

@sbc100 sbc100 merged commit 16a0bf1 into emscripten-core:main Sep 20, 2024
28 checks passed
@sbc100 sbc100 deleted the calloc branch September 20, 2024 02:02
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