summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-protocol.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index 9ecbdab49..5b48634cf 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -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,