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

[SR-9318] adjust malloc and free for alignment #51788

Closed
compnerd opened this issue Nov 22, 2018 · 0 comments
Closed

[SR-9318] adjust malloc and free for alignment #51788

compnerd opened this issue Nov 22, 2018 · 0 comments
Assignees
Labels
standard library Area: Standard library umbrella

Comments

@compnerd
Copy link
Collaborator

Previous ID SR-9318
Radar None
Original Reporter @compnerd
Type Sub-task
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Sub-task
Assignee @compnerd
Priority Medium

md5: c6bb637bb33740e5af6588c55f28ca6c

Parent-Task:

Issue Description:

When _aligned_malloc is used _aligned_free must be used. But, you cannot combine _aligned_free with malloc. Builtin.dealloc would pass -1 for the alignment which would use _aligned_free which would fail on Windows.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

1 participant