From 524c7a8671c8ad58371d54afbb433d67e214ef94 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 24 Jun 2015 22:02:29 +0100 Subject: Free account on pgp presence send --- src/event/client_events.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/event/client_events.c b/src/event/client_events.c index 1ddb3d22..2bf48234 100644 --- a/src/event/client_events.c +++ b/src/event/client_events.c @@ -75,6 +75,7 @@ cl_ev_presence_send(const resource_presence_t presence_type, const char * const if (account->pgp_keyid) { signed_status = p_gpg_sign(msg, account->pgp_keyid); } + account_free(account); #endif presence_send(presence_type, msg, idle, signed_status); -- cgit 1.4.1-2-gfad0