1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

irc: fix memory leak in IRC message parser

Bug was introduced in WeeChat 3.4 by commit
c4b4d80936.
This commit is contained in:
Sébastien Helleu
2023-07-20 08:49:23 +02:00
parent 93dfc8b105
commit 13241cdca5
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -38,6 +38,7 @@ Bug fixes::
* irc: fix display of country code in message 344 received as whois geo info (issue #1736)
* irc: add missing "account-tag" in list of supported capabilities
* irc: fix display of self CTCP message containing bold attribute (issue #1981)
* irc: fix memory leak in IRC message parser
* script: fix cursor position after `/script list -i` or `/script list -il`
* script: fix buffer used by command `/script list -i|-il|-o|-ol`
+2
View File
@@ -529,6 +529,8 @@ irc_message_parse_to_hashtable (struct t_irc_server *server,
free (arguments);
if (text)
free (text);
if (params)
weechat_string_free_split (params);
return hashtable;
}