about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xmpp/muc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/muc.c b/src/xmpp/muc.c
index d0dd6fac..1cc48b31 100644
--- a/src/xmpp/muc.c
+++ b/src/xmpp/muc.c
@@ -889,6 +889,7 @@ muc_members_add(const char *const room, const char *const jid)
             if (strcmp(jid, our_jid->barejid) != 0) {
                 omemo_start_session(jid);
             }
+            jid_destroy(our_jid);
 #endif
         }
     }