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
memleak in net__socket_listen #1565
Milestone
Comments
Thanks - this is pretty non-critical because on the failure cases the broker immediately closes. It's nice to tidy up anyway so I've done that. |
ralight
added a commit
that referenced
this issue
Jan 28, 2020
This is when due to not being able to open a listening socket, solved by calling freeaddrinfo in the error cases. Closes #1565. Thanks to back1127.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
call net__socket_listen and getaddrinfo.
it will allocate memory for ainfo
when listen fail it return directly. don't call freeaddrinfo.
The text was updated successfully, but these errors were encountered: