-
-
Notifications
You must be signed in to change notification settings - Fork 182
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
Fix OMEMO leaks #1131
Comments
Another one seems to be about iq_id_handler_add():
|
Adding from
|
In 46ecdc3 I updated the supressions file so that more false positives are catched. |
@paulfariello what is the right place to do this?
|
We call omemo_init() when starting profanity and should have an omemo_close() at exit. For now we free the fingerprint autocompleter in there. Fixes valgrind: ``` ==13226== 24 bytes in 1 blocks are definitely lost in loss record 2,855 of 6,958 ==13226== at 0x483677F: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==13226== by 0x48AD39: autocomplete_new (autocomplete.c:57) ==13226== by 0x4AB89F: omemo_init (omemo.c:127) ==13226== by 0x42C283: _init (profanity.c:206) ==13226== by 0x42BFF3: prof_run (profanity.c:98) ==13226== by 0x4B25E6: main (main.c:172) ``` Regards #1131
Several of the leaks I get are actually no from us! Now that I use glib 2.60.4 I have less leaks than with 2.60.2. libexpat 2.2.7, which came out recently, fixes that. |
Creating this issue so we don't forget to fix the OMEMO leaks before releasing 0.7.0.
Conversation started in #1130
@paulfariello :-)
The text was updated successfully, but these errors were encountered: