mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Free prof_identifier in case of reconnect
Bedore we assign it new.
This commit is contained in:
parent
c3912df05b
commit
f190d2c5f2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user