-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
mosquitto_connect seems to leak memory when using TLS #1116
Comments
Could you provide the two valgrind traces please? |
I'm sorry but I'm not able to reproduce the memory lost by isolating the mosquitto calls only. I think it is part of my application. I still don't know why it is not leaking when I disable the TLS. I will try to extract a sample code in the next days. |
Maybe related to #592 which was fixed in 1.5.4? |
I can't reproduce this myself, and you were having trouble doing the same, plus this has been dormant for a while so I'm going to close this issue. If it is still a problem please reopen and provide details. |
When using mosquitto_connect() with these functions called before:
Valgrind reports me some memory lost (20 bytes definitely lost and 16 bytes indirectly lost).
If I remove the TLS part of my application (mosquitto_tls_set() and mosquitto_tls_opts_set()) and remove the TLS configuration on the broker, the memory lost fall to 0 byte.
Configuration:
Mosquitto 1.5.3, TLS v1.2, server certificate only.
Are you aware of this?
The text was updated successfully, but these errors were encountered: