mirror of
https://github.com/profanity-im/profanity.git
synced 2024-06-30 21:55:24 +00: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);
|
assert(b64 != NULL);
|
||||||
g_free(hmac);
|
g_free(hmac);
|
||||||
|
|
||||||
|
//in case of reconnect
|
||||||
|
free(prof_identifier);
|
||||||
|
|
||||||
prof_identifier = b64;
|
prof_identifier = b64;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user