1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

Free prof_identifier in case of reconnect

Bedore we assign it new.
This commit is contained in:
Michael Vetter 2019-10-19 07:40:59 +02:00
parent c3912df05b
commit f190d2c5f2

View File

@ -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;
}