diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-10-19 07:40:59 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-10-19 07:40:59 +0200 |
commit | f190d2c5f233ab0986af11a72094c2666b561c70 (patch) | |
tree | d15d8e45ef44dfa89add48269f49d687c84b06e2 /src/xmpp | |
parent | c3912df05b17c513a54b237227a8c96c51bd41ca (diff) | |
download | profani-tty-f190d2c5f233ab0986af11a72094c2666b561c70.tar.gz |
Free prof_identifier in case of reconnect
Bedore we assign it new.
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/connection.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index e35f19ff..c2ca16fd 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -678,6 +678,9 @@ static void _calculate_identifier(const char *barejid) assert(b64 != NULL); g_free(hmac); + //in case of reconnect + free(prof_identifier); + prof_identifier = b64; } |