1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-02-02 15:08:15 -05:00

Free jid in muc_members_add()

Fix memleak.
This commit is contained in:
Michael Vetter 2020-02-25 16:31:41 +01:00
parent fc35a5a492
commit 063b5243f1

View File

@ -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
}
}