Skip to content

Make sure to free the malloced pointer even in case of throwing an error #1394

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
Jul 1, 2025

Conversation

parkera
Copy link
Contributor

@parkera parkera commented Jun 30, 2025

This is detected in our existing tests when running leaks.

Resolves rdar://154702045

@parkera
Copy link
Contributor Author

parkera commented Jul 1, 2025

@swift-ci test

@parkera parkera merged commit 6a7f64f into swiftlang:main Jul 1, 2025
16 checks passed
@parkera parkera deleted the parkera/fix_base64_error_leak branch July 2, 2025 15:42
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