about summary refs log tree commit diff stats
path: root/src/xmpp/presence.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-08-21 15:25:49 +0100
committerJames Booth <boothj5@gmail.com>2016-08-21 15:25:49 +0100
commit088606280626b8b4d7f303e54f69efd7d3bdb76a (patch)
tree6e37efdd1f8cc3a9bb1d5b04507d0c0f4427a5ac /src/xmpp/presence.c
parenta52230978fbddc7f14460e2543621824689299d9 (diff)
downloadprofani-tty-088606280626b8b4d7f303e54f69efd7d3bdb76a.tar.gz
Use hash table for bookmarks
Diffstat (limited to 'src/xmpp/presence.c')
-rw-r--r--src/xmpp/presence.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmpp/presence.c b/src/xmpp/presence.c
index 6b13f4a7..4c686b7d 100644
--- a/src/xmpp/presence.c
+++ b/src/xmpp/presence.c
@@ -780,6 +780,8 @@ _muc_user_self_handler(xmpp_stanza_t *stanza)
         free(status_str);
         free(reason);
     }
+
+    jid_destroy(from_jid);
 }
 
 static void
@@ -858,6 +860,7 @@ _muc_user_occupant_handler(xmpp_stanza_t *stanza)
         free(reason);
     }
 
+    jid_destroy(from_jid);
     free(status_str);
 }