about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-24 22:02:29 +0100
committerJames Booth <boothj5@gmail.com>2015-06-24 22:02:29 +0100
commit524c7a8671c8ad58371d54afbb433d67e214ef94 (patch)
tree342b163871be0e0d3340cf7f3fc68fbd0628bd35
parent7f17fd2e48f037b3d74ec43d80c1a269b0c8f947 (diff)
downloadprofani-tty-524c7a8671c8ad58371d54afbb433d67e214ef94.tar.gz
Free account on pgp presence send
-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);