1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

irc: fix memory leak in main IRC message callback

This commit is contained in:
Sébastien Helleu
2021-11-06 17:58:48 +01:00
parent 8bb5e33348
commit edfc415e9e
+3
View File
@@ -7342,6 +7342,9 @@ irc_protocol_recv_command (struct t_irc_server *server,
(const char **)params,
num_params);
if (params)
weechat_string_free_split (params);
if (return_code == WEECHAT_RC_ERROR)
{
weechat_printf (server->buffer,