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

do_chomp: Use bytes_to_utf8_free_me #22906

Merged
merged 2 commits into from
Jan 22, 2025
Merged

Conversation

khwilliamson
Copy link
Contributor

@khwilliamson khwilliamson commented Jan 12, 2025

This won't allocate new memory unless it is needed.

utf8.h Outdated Show resolved Hide resolved
@khwilliamson khwilliamson changed the title Use void* free_me in new functions that use it do_chomp: Use bytes_to_utf8_free_me Jan 21, 2025
@khwilliamson khwilliamson merged commit 4b15844 into Perl:blead Jan 22, 2025
33 checks passed
@khwilliamson khwilliamson deleted the free_void branch January 22, 2025 04:37
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