about summary refs log tree commit diff stats
path: root/src/xmpp/bookmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp/bookmark.c')
-rw-r--r--src/xmpp/bookmark.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/bookmark.c b/src/xmpp/bookmark.c
index 940b7982..f6a41553 100644
--- a/src/xmpp/bookmark.c
+++ b/src/xmpp/bookmark.c
@@ -191,6 +191,7 @@ bookmark_join(const char *jid)
             account_free(account);
         } else if (muc_roster_complete(item->jid)) {
             ui_room_join(item->jid, TRUE);
+            account_free(account);
         }
         return TRUE;
     }