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

fix(string): use heap allocator for ZString.copy #1531

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

konimarti
Copy link
Contributor

Use the heap allocator for ZString.copy() instead of the temp allocator to stay consistent across the code base.

The temp allocator is used for ZString.tcopy().

Use the heap allocator for ZString.copy() instead of the temp allocator
to stay consistent across the code base.

The temp allocator is used for ZString.tcopy().
@lerno
Copy link
Collaborator

lerno commented Oct 8, 2024

This is a bug actually, it should definitely be the heap allocator.

@lerno lerno merged commit 0cc6205 into c3lang:master Oct 8, 2024
42 checks passed
@lerno
Copy link
Collaborator

lerno commented Oct 8, 2024

Thank you!

@konimarti konimarti deleted the fix-zstring-copy-allocator branch October 11, 2024 19:07
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