From bdb1287a4f36b5b378a6ea5cf563a8cbb29badcd Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 7 Apr 2016 01:14:12 +0100 Subject: Free mentions list --- src/event/server_events.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/event') 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; -- cgit 1.4.1-2-gfad0