diff options
Diffstat (limited to 'src/xmpp/presence.c')
-rw-r--r-- | src/xmpp/presence.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmpp/presence.c b/src/xmpp/presence.c index a18bf6fe..ec439871 100644 --- a/src/xmpp/presence.c +++ b/src/xmpp/presence.c @@ -493,7 +493,7 @@ _available_handler(xmpp_conn_t * const conn, } // self presence - if (strcmp(my_jid->barejid, from_jid->barejid) ==0) { + if (strcmp(my_jid->barejid, from_jid->barejid) == 0) { connection_add_available_resource(resource); // contact presence @@ -502,6 +502,7 @@ _available_handler(xmpp_conn_t * const conn, last_activity); } + free(caps_key); free(status_str); free(show_str); jid_destroy(my_jid); |