diff options
author | James Booth <boothj5@gmail.com> | 2016-04-07 01:14:12 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-04-07 01:14:12 +0100 |
commit | bdb1287a4f36b5b378a6ea5cf563a8cbb29badcd (patch) | |
tree | 72ea2878f018780522aadfd7e05e8c08df50124b | |
parent | f243e333fcb6740ff8d09cc04db27d88040f5f7d (diff) | |
download | profani-tty-bdb1287a4f36b5b378a6ea5cf563a8cbb29badcd.tar.gz |
Free mentions list
-rw-r--r-- | src/event/server_events.c | 2 |
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; |