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

handle deallocation request in native_resolve_cb #13

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

petrosagg
Copy link

When librdkafka calls the resolve callback with all pointers set to null pointers it is a signal that the callback should deallocate the provided addrinfo.

When librdkafka calls the resolve callback with all pointers set to null
pointers it is a signal that the callback should deallocate the provided
addrinfo.

Signed-off-by: Petros Angelatos <[email protected]>
Co-authored-by: Nikhil Benesch <[email protected]>
@benesch benesch merged commit 357983e into master Jan 31, 2024
3 of 10 checks passed
@benesch benesch deleted the resolve-cb-null-handling branch January 31, 2024 00:08
benesch added a commit that referenced this pull request Feb 2, 2024
…ndling"

This reverts commit 357983e, reversing
changes made to 6e957d5.
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