1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Free account on pgp presence send

This commit is contained in:
James Booth 2015-06-24 22:02:29 +01:00
parent 7f17fd2e48
commit 524c7a8671

View File

@ -75,6 +75,7 @@ cl_ev_presence_send(const resource_presence_t presence_type, const char * const
if (account->pgp_keyid) { if (account->pgp_keyid) {
signed_status = p_gpg_sign(msg, account->pgp_keyid); signed_status = p_gpg_sign(msg, account->pgp_keyid);
} }
account_free(account);
#endif #endif
presence_send(presence_type, msg, idle, signed_status); presence_send(presence_type, msg, idle, signed_status);