1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 18:23:13 +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 ef68312393
commit 2ad27b41a5
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -13,7 +13,10 @@ For a list of important changes that require manual actions, please look at rele
[[v4.0.3]]
== Version 4.0.3 (under dev)
Bug fixes::
* irc: fix display of self CTCP message containing bold attribute (issue #1981)
* irc: fix memory leak in IRC message parser
[[v4.0.2]]
== Version 4.0.2 (2023-07-12)
+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;
}