about summary refs log tree commit diff stats
path: root/profrc.example
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-10-21 09:50:13 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-10-21 09:50:13 +0200
commit963ab841b42fdb1d80594b609a589a25b4034aa7 (patch)
tree84e86c11c7d51fd5202d258bdb46f49119840621 /profrc.example
parent8a5932b251e2af59680725f16acee9c3736b3c76 (diff)
downloadprofani-tty-963ab841b42fdb1d80594b609a589a25b4034aa7.tar.gz
Set prof_ident to NULL after free
This caused the bug mentioned in the PR comment:

```
It seems with the changes done here we get a crash in: src/xmpp/message.c message_handlers_init() when looking up handlers: ProfMessageHandler *handler = g_hash_table_lookup(pubsub_event_handlers, curr->data);.

Steps to reproduce:

    open Profanity and connect
    /autoping set 10
    /autoping timeout 10
    stop WiFi/connection
    wait for Lost connection
    restart wifi
    /connect
```
Diffstat (limited to 'profrc.example')
0 files changed, 0 insertions, 0 deletions