about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/event/client_events.c1
1 files changed, 1 insertions, 0 deletions
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);