summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-03-25 17:27:15 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-03-25 17:27:15 +0200
commit9dd8cc0d6adb5e74edff591499f990453e4692a8 (patch)
tree5830652ab77ff8a6aacd320016e8342911c7e8a5 /src
parenta38533cb41cde718f8b4833eadc00ee35c3c6313 (diff)
downloadweechat-9dd8cc0d6adb5e74edff591499f990453e4692a8.zip
irc: fix memory leak when receiving a message with tags
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index ab332c03e..6cb3898a3 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -3027,6 +3027,8 @@ irc_server_msgq_flush ()
if (new_msg2)
free (new_msg2);
+ if (tags)
+ free (tags);
if (nick)
free (nick);
if (host)