1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 10:43: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 93dfc8b105
commit 13241cdca5
2 changed files with 3 additions and 0 deletions
+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;
}