1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
Go to file
Michael Vetter 9aad2aa487 Free iq_id_handlers correctly
so far only the key part was freed. We also need to free the actual
handler.

Fix:
```
==21171== 1,128 bytes in 47 blocks are definitely lost in loss record
3,476 of 3,670
==21171==    at 0x483677F: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==21171==    by 0x434248: iq_id_handler_add (iq.c:265)
==21171==    by 0x4B122E: omemo_devicelist_request (omemo.c:46)
==21171==    by 0x4AC411: omemo_start_session (omemo.c:409)
==21171==    by 0x4AC37C: omemo_start_sessions (omemo.c:396)
==21171==    by 0x447881: sv_ev_roster_received (server_events.c:189)
==21171==    by 0x444019: roster_result_handler (roster.c:312)
==21171==    by 0x433FC2: _iq_handler (iq.c:202)
==21171==    by 0x5AF118E: ??? (in /usr/lib64/libmesode.so.0.0.0)
==21171==    by 0x5AEDBDA: ??? (in /usr/lib64/libmesode.so.0.0.0)
==21171==    by 0x5AFA43E: ??? (in /usr/lib64/libmesode.so.0.0.0)
==21171==    by 0x6818AA4: ??? (in /usr/lib64/libexpat.so.1.6.8)
==21171==    by 0x681A3AB: ??? (in /usr/lib64/libexpat.so.1.6.8)
==21171==    by 0x681D7EB: XML_ParseBuffer (in
/usr/lib64/libexpat.so.1.6.8)
==21171==    by 0x5AF0A63: xmpp_run_once (in
/usr/lib64/libmesode.so.0.0.0)
==21171==    by 0x432E5D: connection_check_events (connection.c:104)
==21171==    by 0x4323B3: session_process_events (session.c:255)
==21171==    by 0x42C097: prof_run (profanity.c:128)
==21171==    by 0x4B2627: main (main.c:172)
```
2019-07-04 14:25:53 +02:00
.github Add FUNDING.ymlg 2019-06-06 08:46:34 +02:00
apidocs Update copyright 2018-01-21 15:00:02 +00:00
docs Update profanity repo URL 2019-05-03 10:51:28 +02:00
icons better, final icons 2016-03-09 12:55:57 +01:00
src Free iq_id_handlers correctly 2019-07-04 14:25:53 +02:00
tests Fix handling of encrypted carbons 2019-06-21 15:52:24 +02:00
themes Set foreground color for untrusted messages 2019-06-20 14:30:45 +02:00
.gitignore Update plugin API docs 2016-08-02 23:17:28 +01:00
.travis.yml Add Travis CI tests for Arch, Debian and OSX/macOS 2019-06-06 13:58:26 +02:00
bootstrap.sh Add Travis CI tests for Arch, Debian and OSX/macOS 2019-06-06 13:58:26 +02:00
Brewfile.travis Add Travis CI tests for Arch, Debian and OSX/macOS 2019-06-06 13:58:26 +02:00
CHANGELOG Add 0.7.0 changelog entry 2019-06-24 07:42:46 +02:00
configure-debug Include python plugins by default in build 2016-07-24 01:34:02 +01:00
configure-plugins Added python plugins code 2016-02-24 00:31:55 +00:00
configure.ac Update profanity repo URL 2019-05-03 10:51:28 +02:00
COPYING Added GPL 2012-02-20 20:07:38 +00:00
Dockerfile.arch Add Travis CI tests for Arch, Debian and OSX/macOS 2019-06-06 13:58:26 +02:00
Dockerfile.debian Add Travis CI tests for Arch, Debian and OSX/macOS 2019-06-06 13:58:26 +02:00
Dockerfile.tumbleweed Add Travis CI tests for Arch, Debian and OSX/macOS 2019-06-06 13:58:26 +02:00
ISSUE_TEMPLATE.md Ask for glib version in issue template 2019-06-26 11:07:34 +02:00
LICENSE.txt Update copyright years 2019-04-24 01:08:38 +02:00
Makefile.am Add prof_message_t to wrap all message attributes 2019-06-20 14:30:42 +02:00
prof.supp Expand suppressiosn file 2019-07-04 09:22:29 +02:00
profanity.spec Update profanity URL in spec file 2019-05-03 10:28:04 +02:00
profrc.example Added example profrc config 2014-06-29 22:58:33 +01:00
README.md Update travis URL 2019-05-03 10:59:39 +02:00
RELEASE_GUIDE.md Update release guide with libprofanity info 2019-06-11 07:45:11 +02:00
theme_template Set foreground color for untrusted messages 2019-06-20 14:30:45 +02:00
travis-build.sh Add Travis CI tests for Arch, Debian and OSX/macOS 2019-06-06 13:58:26 +02:00

Profanity Build Status

Profanity is a console based XMPP client inspired by Irssi,

alt tag

See the User Guide for information on installing and using Profanity.

Homepage: https://profanity-im.github.io/

Mailing List: https://groups.google.com/forum/#!forum/profanitydev

MUC: profanity@rooms.dismail.de

Plugins repository: https://github.com/profanity-im/profanity-plugins