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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user