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

Problem: There is a memory leak when participating in elections #10

Merged
merged 1 commit into from
Dec 15, 2021

Conversation

Mathsoum
Copy link
Collaborator

Solution: Plug that leak.

We append strings to two zlist using strdup but both zlists are autofree.
autofree means that the appended values will be copied automatically, therefore there is no need for strdup.

@stvales stvales merged commit 7ecc7db into zeromq:main Dec 15, 2021
@Mathsoum Mathsoum deleted the plug_leak branch April 6, 2022 08:48
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