diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-03-25 17:27:15 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-03-25 17:27:15 +0200 |
commit | 9dd8cc0d6adb5e74edff591499f990453e4692a8 (patch) | |
tree | 5830652ab77ff8a6aacd320016e8342911c7e8a5 /src | |
parent | a38533cb41cde718f8b4833eadc00ee35c3c6313 (diff) | |
download | weechat-9dd8cc0d6adb5e74edff591499f990453e4692a8.zip |
irc: fix memory leak when receiving a message with tags
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/irc/irc-server.c | 2 |
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) |