diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-02-25 16:31:41 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-02-25 16:31:41 +0100 |
commit | 063b5243f17331c4c578c687fc18bcec4f203507 (patch) | |
tree | 2182c4e97de774ff13d1ab81665405f164250695 /src | |
parent | fc35a5a4921142f1425fc697c1e26b04b700dbf6 (diff) | |
download | profani-tty-063b5243f17331c4c578c687fc18bcec4f203507.tar.gz |
Free jid in muc_members_add()
Fix memleak.
Diffstat (limited to 'src')
-rw-r--r-- | src/xmpp/muc.c | 1 |
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 } } |