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

SWIG_Python_str_AsChar removal in SWIG 4.2.0 #232

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

fweimer-rh
Copy link
Contributor

The replacement, SWIG_PyUnicode_AsUTF8AndSize, has different memory management requirements.

Doesn't ldns_dname_new_frm_str make a copy of the input string? Then the arginit/freearg constructs aren't needed, and the deallocation of the intermediate Python string could happen locally.

The replacement, SWIG_PyUnicode_AsUTF8AndSize, has different
memory management requirements.
Copy link
Member

@wtoorop wtoorop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@wtoorop wtoorop merged commit cf78788 into NLnetLabs:develop Jul 12, 2024
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