1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
profanity/src
Michael Vetter 482138feff Free key on error in omemo_start_device_session_handle_bundle()
Fix:
```
==20561== 32 bytes in 1 blocks are definitely lost in loss record 1,467
of 3,678
==20561==    at 0x483677F: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==20561==    by 0x4B16C9: omemo_start_device_session_handle_bundle
(omemo.c:167)
==20561==    by 0x43405E: _iq_handler (iq.c:214)
==20561==    by 0x5AF118E: ??? (in /usr/lib64/libmesode.so.0.0.0)
==20561==    by 0x5AEDBDA: ??? (in /usr/lib64/libmesode.so.0.0.0)
==20561==    by 0x5AFA43E: ??? (in /usr/lib64/libmesode.so.0.0.0)
==20561==    by 0x6818AA4: ??? (in /usr/lib64/libexpat.so.1.6.8)
==20561==    by 0x681A3AB: ??? (in /usr/lib64/libexpat.so.1.6.8)
==20561==    by 0x681D7EB: XML_ParseBuffer (in
/usr/lib64/libexpat.so.1.6.8)
==20561==    by 0x5AF0A63: xmpp_run_once (in
/usr/lib64/libmesode.so.0.0.0)
==20561==    by 0x432E5D: connection_check_events (connection.c:104)
==20561==    by 0x4323B3: session_process_events (session.c:255)
==20561==    by 0x42C097: prof_run (profanity.c:128)
==20561==    by 0x4B260D: main (main.c:172)
```
2019-07-04 11:55:53 +02:00
..
command Add option to set all window related time formats 2019-06-17 14:23:33 +02:00
config Set foreground color for untrusted messages 2019-06-20 14:30:45 +02:00
event Show MUC history on intentional reconnect 2019-07-03 09:19:24 +02:00
omemo Free omemo_ctx.device_list_handler 2019-07-04 10:47:50 +02:00
otr Add prof_message_t to wrap all message attributes 2019-06-20 14:30:42 +02:00
pgp Restoration of correct GPG encryption 2019-02-20 11:53:40 +01:00
plugins Rename prof_message_t into ProfMessage 2019-06-20 14:30:45 +02:00
tools Update copyright to include 2019 2019-01-22 11:31:45 +01:00
ui Fix handling of encrypted carbons 2019-06-21 15:52:24 +02:00
xmpp Free key on error in omemo_start_device_session_handle_bundle() 2019-07-04 11:55:53 +02:00
common.c Add myself to copyright 2019-06-17 10:44:08 +02:00
common.h Update copyright to include 2019 2019-01-22 11:31:45 +01:00
log.c Rename prof_message_t into ProfMessage 2019-06-20 14:30:45 +02:00
log.h Rename prof_message_t into ProfMessage 2019-06-20 14:30:45 +02:00
main.c Add myself to copyright 2019-06-17 10:44:08 +02:00
profanity.c Add omemo_close function 2019-07-04 10:30:56 +02:00
profanity.h Update copyright to include 2019 2019-01-22 11:31:45 +01:00