about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/event/server_events.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c
index 76c649cd..c9f18670 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -266,6 +266,8 @@ sv_ev_room_message(const char *const room_jid, const char *const nick, const cha
 
     mucwin_message(mucwin, nick, new_message, mentions, triggers);
 
+    g_slist_free(mentions);
+
     ProfWin *window = (ProfWin*)mucwin;
     int num = wins_get_num(window);
     gboolean is_current = FALSE;